Question Locked

Batch Script

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to take an existing file (named similar to this: abcd_20080808_) and add the time in a format similar to this: abcd_20080808_130252 and then save the file in a directory. Can somebody please help.

2 replies

by dr dij

create the batch script in a programming language as a text file with date, time stamps written out to the batch file ready to run.

then call it from the programming language. you can of course do anything the host os does, windoze 'command' (formerly dos) or unix.

FTP files, use commail.exe or other progs to email them, secure shell too, even decrypt pgp files from customers by typing file name.pgp to command prompt, dos associates with .pgp software already installed on your pc and decrypts it.

for more serious dos users, maybe xxcopy (see their website) has zillions of options more than xcopy, may have a date or time stamp option.

Anyone know how to do this with just dos scripts or where you talkign about unix or linx? need to make yourself clear

This discussion is closed to new replies.