I mean, if i'm in the folder foo, and within it there's another folder called bar, and whithin bar folder, there's a file.bat. In this scenario, i can't just type foo/bar/file.bat. I have to type the entire path to get the file executed, i.e (c:/foo/bar/file.bat).
Is there a way i can do just foo/bar/file.bat and execute the file.bat, without having to type the entire path to the file.bat?
P.S: I'm talking about Windows Command Prompt.
Sorry for my bad english.