File rename using a .vbs
I need to rename a number of files after an msi is installed. I need them renaming after the install due to Radia not liking the file extension # at deployment do it fails.
I have conclusded a Custom Action to do this via a .vbs is the best option.
Can a file rename be done using vbs? if so can anyone let me know the scrit to do this, cannot fine the command for a file rename.
many thanks in advance.
Files to be renamed are as follows :
C:\PROGRAM FILES\PROPH_73\FULL_ACC\PRECOMP\BorelandWatr.01 to BorelandWatr.01
BorelandWatr.02 to BorelandWatr.02
BorelandWatrD.00 to BorelandWatrD.00
BorelandWatrD.01 to BorelandWatrD.01
Renamed to BorelandWatr.01 to BorelandWatr.#01
BorelandWatr.02 to BorelandWatr.#02
BorelandWatrD.00 to BorelandWatrD.#00
BorelandWatrD.01 to BorelandWatrD.#01
big cheers in advance.
I have conclusded a Custom Action to do this via a .vbs is the best option.
Can a file rename be done using vbs? if so can anyone let me know the scrit to do this, cannot fine the command for a file rename.
many thanks in advance.
Files to be renamed are as follows :
C:\PROGRAM FILES\PROPH_73\FULL_ACC\PRECOMP\BorelandWatr.01 to BorelandWatr.01
BorelandWatr.02 to BorelandWatr.02
BorelandWatrD.00 to BorelandWatrD.00
BorelandWatrD.01 to BorelandWatrD.01
Renamed to BorelandWatr.01 to BorelandWatr.#01
BorelandWatr.02 to BorelandWatr.#02
BorelandWatrD.00 to BorelandWatrD.#00
BorelandWatrD.01 to BorelandWatrD.#01
big cheers in advance.
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
brenthunter2005
18 years ago
Posted by:
knight
18 years ago
Posted by:
gmorgan618
18 years ago
Posted by:
TOBES_UK
18 years ago
Posted by:
AngelD
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.