H HARRY Active Member Licensed User Longtime User Aug 20, 2007 #1 Hallo, I need to rename a file at runtime. Does an equivalent exist for the Name statement of Visual Basic like Name oldpathname As newpathname? Harry
Hallo, I need to rename a file at runtime. Does an equivalent exist for the Name statement of Visual Basic like Name oldpathname As newpathname? Harry
Cableguy Expert Licensed User Longtime User Aug 20, 2007 #2 I Dont think there a direct way of doing that, but you can do it in steps.. Create a copy of the file and then delete the old file...
I Dont think there a direct way of doing that, but you can do it in steps.. Create a copy of the file and then delete the old file...
H HARRY Active Member Licensed User Longtime User Aug 20, 2007 #3 Thanks Cableguy, Indeed, that is a solution; however, the file is pretty long and than it takes quite some time to make a copy. So, a direct rename is preferable. Harry
Thanks Cableguy, Indeed, that is a solution; however, the file is pretty long and than it takes quite some time to make a copy. So, a direct rename is preferable. Harry
specci48 Well-Known Member Licensed User Longtime User Aug 20, 2007 #4 Hi Harry, if you are not aware of installing another tool on your ppc you could use the freeware Mortscript (http://www.sto-helit.de/) as an enhancement of the shell command of Basic4ppc. As I remember a direkt rename of files is available. specci48
Hi Harry, if you are not aware of installing another tool on your ppc you could use the freeware Mortscript (http://www.sto-helit.de/) as an enhancement of the shell command of Basic4ppc. As I remember a direkt rename of files is available. specci48