Jump to content
Server Maintenance This Week. ×

Changing Filename after import?


Breezer

This topic is 6653 days old. Please don't post here. Open a new topic instead.

Recommended Posts

If you know the full path to the original file then you can use Send Event and the command line to rename the file:

Calculate this string:

cmd /c ren c:folderdata.txt c:01312006_data.txt

It seems to work only for the local drive

cmd /c ren c:folderdata.txt 01312006_data.txt

but doesn't work on a network drive.

cmd /c ren x:mypathfolderdata.txt 01312006_data.txt

What am I doing wrong?

Link to comment
Share on other sites

I checked the rights and I do have the necessary rights. However, I tried to look at the error message and it says "The syntax of the command is incorrect"

cmd /k ren filesvrdeptmyPathFolderData.txt 01312006_Data.txt

Link to comment
Share on other sites

This topic is 6653 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.