R
riprap
Hello, All
[I looked for an XP group designed for command-line questions, but
couldn't find one!]
Recently I caused a large amount of unwanted data deletion while
mucking around in the command prompt window and I'm trying to learn
what I did wrong....
What I was trying to do was to delete all the files out of
"C:\Documents and Settings\<username>\Local Settings\Temporary Internet
Files". So I brought up a command window, navigated to that directory,
and typed in "/*.*" (without the quotes), and hit Enter. Immediately
the screen was filled with hundreds of files that were being deleted,
scrolling downward until I realized that there was a whole lot more
being deleted than what I intended...Luckily I knew enough at that
point to hit Ctrl+Break, which brought the destruction to a stop.
It took between 2.5 and 3 hrs to repair all the deletions to the
various usernames accounts.
Sorry to make this so lengthy, but all I'm trying to learn is: What
the Sam Hill did I do wrong? I was under the impression that, when you
had already placed the command-cursor in the directory you wanted to
reach, that by hitting a forward-slant ("/") any commands after that
character would be restricted solely to operating within that
directory. Evidently not.
If anyone could help me out with this question it would be much
appreciated.
riprap
suffering from the usual confusion
[I looked for an XP group designed for command-line questions, but
couldn't find one!]
Recently I caused a large amount of unwanted data deletion while
mucking around in the command prompt window and I'm trying to learn
what I did wrong....
What I was trying to do was to delete all the files out of
"C:\Documents and Settings\<username>\Local Settings\Temporary Internet
Files". So I brought up a command window, navigated to that directory,
and typed in "/*.*" (without the quotes), and hit Enter. Immediately
the screen was filled with hundreds of files that were being deleted,
scrolling downward until I realized that there was a whole lot more
being deleted than what I intended...Luckily I knew enough at that
point to hit Ctrl+Break, which brought the destruction to a stop.
It took between 2.5 and 3 hrs to repair all the deletions to the
various usernames accounts.
Sorry to make this so lengthy, but all I'm trying to learn is: What
the Sam Hill did I do wrong? I was under the impression that, when you
had already placed the command-cursor in the directory you wanted to
reach, that by hitting a forward-slant ("/") any commands after that
character would be restricted solely to operating within that
directory. Evidently not.
If anyone could help me out with this question it would be much
appreciated.
riprap
suffering from the usual confusion