The start command makes the command line window occur and the pushd seems to be some kind of hack to switch to the directory which is the next parameter. What does the switches and commands mean? The /c switch tells cmd.exe to execute the following command line parameter as command. If, for example, the command would be executed for the path E:\my projects\foo, the second parameter will actually be If the actual directory path contains spaces, we need to surround the placeholder with quotes by specifying double quotes. Because our command contains spaces, we need to wrap it in quotes. ![]() ![]() Basically, the cmd.exe needs two arguments, /c and the command to execute. in the Command input field specify the path to the cmd.exe, for my Windows XP system C:\Windows\system32\cmd.exe.open the Preferences and select the page to configure the directory command (in SmartSVN it is named Directory Command, in SmartGit Directory Tool).When I right click a directory in our SVN client SmartSVN or Git client SmartGit on Windows - especially the latter, because it does not yet support all Git commands - I want to open a command line shell window.Īlthough it is easy to execute a command with cmd.exe, it seems not that obvious how to open a command line shell window.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |