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

O.T. - Why would renaming a database file in a CMD window under XP take 85 seconds?

P: n/a
MLH
I ran the following 3 lines in a CMD window on a machine
running XP. The first line took about 85 seconds to run. The
next 2 were done by the time my little finger on my right hand
pulled away from the keyboard's Enter-key. This is characteristic
of my machine and has been from day-1. Its an HP-Pavilion mx70
(if that even matters) 1.80 GHz reporting 992 meg of RAM.

C:\CR>ren bakup\credit*.mdb *.bak

C:\CR>ren bakup\credit*.bak *.mdb

C:\CR>ren bakup\credit*.mdb *.bak

There are 2 files in C:\CR\bakup:
Credit.mdb and CreditBE.mdb... 32 megs and 101 megs respectively.
Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
MLH wrote:
I ran the following 3 lines in a CMD window on a machine
running XP. The first line took about 85 seconds to run. The
next 2 were done by the time my little finger on my right hand
pulled away from the keyboard's Enter-key. This is characteristic
of my machine and has been from day-1. Its an HP-Pavilion mx70
(if that even matters) 1.80 GHz reporting 992 meg of RAM.

C:\CR>ren bakup\credit*.mdb *.bak

C:\CR>ren bakup\credit*.bak *.mdb

C:\CR>ren bakup\credit*.mdb *.bak

There are 2 files in C:\CR\bakup:
Credit.mdb and CreditBE.mdb... 32 megs and 101 megs respectively.


Unknown. I've never renamed a file like you. IOW, I never attempted to
rename any file that begain with a word like credit and had an extension
an rename it with another extension but no filename. I've done
something like
ren credit*.mdb credit*.bak
Nov 12 '05 #2

P: n/a
On Wed, 14 Jan 2004 06:57:14 GMT in comp.databases.ms-access, Salad
<oi*@vineger.com> wrote:
MLH wrote:
I ran the following 3 lines in a CMD window on a machine
running XP. The first line took about 85 seconds to run. The
next 2 were done by the time my little finger on my right hand
pulled away from the keyboard's Enter-key. This is characteristic
of my machine and has been from day-1. Its an HP-Pavilion mx70
(if that even matters) 1.80 GHz reporting 992 meg of RAM.

C:\CR>ren bakup\credit*.mdb *.bak

C:\CR>ren bakup\credit*.bak *.mdb

C:\CR>ren bakup\credit*.mdb *.bak

There are 2 files in C:\CR\bakup:
Credit.mdb and CreditBE.mdb... 32 megs and 101 megs respectively.


Unknown. I've never renamed a file like you. IOW, I never attempted to
rename any file that begain with a word like credit and had an extension
an rename it with another extension but no filename. I've done
something like
ren credit*.mdb credit*.bak


(tagging onto Salad's post as MLH's didn't reach my server)

How many files matched "credit*,mdb"? If there's a lot then it can
take some time, however subsequently all those file names and their
FAT/NTFS entries will be in the file cache so will work faster next
time.

Perhaps your hdd is pretty slow to begin with?
--
A)bort, R)etry, I)nfluence with large hammer.
Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.