Run program ren

Got a problem you cannot solve? Try here.
Post Reply
Joc02
Posts: 5
Joined: Mon Nov 14, 2011 8:42 am

Run program ren

Post by Joc02 »

Hello,

I would like try to rename a file. So I use a direct execute command "Run program" and I call the system function "ren".

But that command doesn't work and return always -1.

~InstallAware Clipboard Data~
~Run Program~
~{EBB6C316-DBB3-41B6-B1AF-17994F4154C2}~
~ren~
~FALSE~
~"D:\X\toto.dll" "toto.dll.old"~
~TRUE~
~~

Run Program ren "D:\X\toto.dll" "toto.dll.old"
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Run program ren

Post by bokkie »

Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
Post Reply