Jump to content

Can Run commands if directory name is too long!


Recommended Posts

if you quote the command or pathname, you have to use START ""

look at START /?

START ["title"] [/Dpath] [/MIN] [/MAX] [/sEPARATE | /SHARED]

[/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]

[/WAIT] [command/program]

[parameters]

if you do START /WAIT "command" its going to think "command" is the title

thats why you have to do START "" /WAIT "command"

seems strange, but thats the way it has to be done if you want to quote the command

but you are right, you can do a START /WAIT longpath\command, without having to quote it.. but you can run into problems.. for example if you are trying to execute an exe named setup.exe, it will run setup.exe in system32

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...