Sign in to follow this  
Followers 0
zeta_immersion

Global Variable with Macro

3 posts in this topic




Quote

C:\WINDOWS\system32\cmd.exe /k xcopy /y /cC:\WINDOWS\Pictures\C:\Temp

Because your string turns into that. no space after /c, no space after Pictures\. So the exact switch is /cC:\Windows\Pictures\C:\Temp. I don't know of any switch like that.

Share this post


Link to post
Share on other sites

wired - my mistake in missing the space

the reason I made the post was for someone to confirm I declared the macro function properly and I have used it in the Run command the right way. Previously the error I received was variable $SourceDir used before being declared

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