Link to home
Start Free TrialLog in
Avatar of holemania
holemania

asked on

VB.NET - Command Prompt to rename file

Hello all,

I am curious if anyone has done this before.  I would like to create a small vb.net application that would search through users network folder and rename a particular file.  I was thinking about using VB.Net to do the search and than command prompt to do the renaming.  

Anyone can hep me out or might have something similar?  Basically I am looking for a file name Config.ini and rename that to Config.ini_old so that the old configuration can't be use.  This config file is stored on the network drive H.
SOLUTION
Avatar of CodeJunky
CodeJunky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of SStory
SStory
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Good point Story :)
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you have local access to the server, then a simple batch file would do the job.
Avatar of holemania
holemania

ASKER

Wow thanks.  Didn't know it was that simple.