Jump to content

Recommended Posts


Posted

so to use xcopy from runonceex you have to call cmd.exe first?

Something like this?

cmd.exe /c xcopy /E "%systemdrive%\install\apps\Mozilla Firefox" "%programfiles%\Mozilla Firefox"

Posted

The easy way to remember this is that an external commands don't need cmd /c. So if you can find the exe in your path, then you don't need it. xcopy.exe is external.

Internal commands such as copy and move will need the cmd /c infront of them. You can't find an executable file for these commands.

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...