Sign in to follow this  
Followers 0
vnavna

How to run a DOS rename command with quotes?

5 posts in this topic

I can't get anything to work. I am trying @comspec but with no luck.

Run(@ComSpec & '/c & ren "Office 2003" "Office 2007-1"')

Share this post


Link to post
Share on other sites



Shortcuts.au3 (19) : ==> Unable to execute the external program.:

Run(@ComSpec & '/c & ren "Office 2003" "Office 2007-1"')

Share this post


Link to post
Share on other sites

I have the full version.

Share this post


Link to post
Share on other sites

You need a space beteen ' and /c and remove the second &.

Run(@ComSpec & ' /c ren "Office 2003" "Office 2007-1"') oÝ÷ Øí«]Ù÷öÜ(®FvØ^Âäx·¶òjëh×6Run(@ComSpec & ' /c ren "Office 2003" "Office 2007-1"', @TempDir)

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

Share this post


Link to post
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
Sign in to follow this  
Followers 0