How to call a batch file that is one level up from the current directory?
问题 I'm using a batch file in folder1/folder2/file.bat There is a batch file in parent folder folder1 , that I want to open through file.bat I have tried using: start ..\..\code.bat But this results in an error message, because file couldn't be found. Any ideas? 回答1: You could just: cd.. start Code.bat And that would start code.bat from its own directory 回答2: I want to explain better what should be used with an example as the answers posted up to now work only with current working directory being