Link to home
Create AccountLog in
Avatar of xodos
xodos

asked on

rename file in vb6

dear sir
i have this script as a batch file i want to convert it to visual basic exe file
but with minor changes
@echo off
b:\gld\update\
ren gas.exe update.izq

===============
this is the srcipt
i want it like this way
rename gas.exe to timenow.izq

thanks
Avatar of alain34
alain34
Flag of United Kingdom of Great Britain and Northern Ireland image

Name "gas.exe"  as "timenow.izq"
Avatar of xodos
xodos

ASKER

no ,
time now .izq is the local time of the user , which the script take the time from the clock of the computer and make it as a name for the file and its extension is izq
thanks
ASKER CERTIFIED SOLUTION
Avatar of alain34
alain34
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer