By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,413 Members | 996 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,413 IT Pros & Developers. It's quick & easy.

little problem

P: n/a
I have one more thing:
==

write program, which rename name of files (all files) in catalogue "test",
to add "0" to the name of file.
For example:

we have three files:
d://test//file1.dat
d://test//file2.dat
d://test//file3.dat

and we have to have:

d://test//file10.dat
d://test//file20.dat
d://test//file30.dat
I used "rename" but i don't know what about mask, for example:
rename(*.*,*0.*).

Could You help me???
Dec 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On Tue, 13 Dec 2005 10:34:47 +0100, "Sebu¶" <s.**********@szachy.pl>
wrote:

[completely off-topic stuff snipped]
Could You help me???


alt.msdos.batch.nt

--
Bob Hairgrove
No**********@Home.com
Dec 13 '05 #2

P: n/a
Sebu¶ wrote:
I have one more thing:
==

write program, which rename name of files (all files) in catalogue "test",
to add "0" to the name of file.
For example:

we have three files:
d://test//file1.dat
d://test//file2.dat
d://test//file3.dat

and we have to have:

d://test//file10.dat
d://test//file20.dat
d://test//file30.dat
I used "rename" but i don't know what about mask, for example:
rename(*.*,*0.*).

Could You help me???


Do you know what is programming?
If you don't get in the water, you will never
learn how to swim.

Learning-by-doing

Marcelo
Dec 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.