Computer Hope
Microsoft => Microsoft DOS => Topic started by: boweasel on March 11, 2009, 11:24:01 AM
-
Working on a Vista machine that won't boot. It just goes to the repair and eventually indicates that it cannot perform a repair. This PC came w/ Vista installed and no disc, and the owner never created any CDs for installation or setup.
But I figured I could get to DOS prompt with a Windows XP disc - which it did - to copy picture files to a flash drive. So I get to a DOS prompt, go to the directory that has the sub-directories w/ pictures. and try to copy them to the flash drive. But it seems that with the way I got the PC booted, wildcards are not allowed (I'm guessing that I'm only allowed to use INTERNAL DOS commands), so I have to copy the files individually, which does work, but is laborious. Is there a way around this? I used the SET command to AllowWildCards = TRUE, but it has no effect on copying files.
Secondly, this guy has a directory called "BEHAVE!!! =>" (at least that's what it looks like its called in DOS) that contains pictures he would like saved. I have no idea how he created this, but I can't seem to get to this directory. I get "the file name, directory name, or volume label syntax is incorrect" when I try to access it w/ the DOS command CD "BEHAVE!!! =>". And since I have no idea how to get around the 'wildcard' problem, I'm unable to access this directory.
Any thoughts on these two problems would be greatly appreciated.
-
try the Move command:
move C:\<whateverlocation> E:\<orwhateverdrivenameforyourjumpdrive>
Hope this Helps
,Nick(macdad-)
-
i think copy would be best here. but then again I'm probably wrong.
-
just have to wait what he says, and besides Move is an internal command so it should work...
-
:) true
-
try the Move command:
move C:\<whateverlocation> E:\<orwhateverdrivenameforyourjumpdrive>
Hope this Helps
Thanks Nick, but it doesn't. Move is NOT an internal DOS command. When I use it I get 'The command is not recognized. Type HELP....blah, blah, blah'
-
i think copy would be best here. but then again I'm probably wrong.
Gee, I've already used COPY to move stuff to the flash drive. I just was hoping for a way to enable wilcards, so I could type 'copy c:\BEHAVE*\*.* e:'
-
just have to wait what he says
I don't know what this (partial) sentence means...
and besides Move is an internal command so it should work...
MOVE is not an internal DOS command.
-
Sounds like it's not the DOS prompt that the OP is in (not possible with an XP disk anyway) but the XP recovery console. This uses a limited set of commands, and, as has been noticed, does not support wildcards.
I don't know where this came from, it's not part of XP command prompt anyway.
I used the SET command to AllowWildCards = TRUE, but it has no effect on copying files.
-
I don't know where this came from, it's not part of XP command prompt anyway.
When I'm at a command prompt I can type HELP for a list of valid DOS commands. Set is one of them. If I type SET wihout any parameters, then it shows me various items that have been set. It originally showed SET AllowWildCards = FALSE. and I typed in SET AllowWildCards = TRUE. If I type in SET w/ no parameters it shows that SET AllowWildCards is equal to True. But it makes no difference. I still cannot use * or ?...
-
Delete.
-
When I'm at a command prompt I can type HELP for a list of valid DOS commands. Set is one of them. If I type SET wihout any parameters, then it shows me various items that have been set. It originally showed SET AllowWildCards = FALSE. and I typed in SET AllowWildCards = TRUE. If I type in SET w/ no parameters it shows that SET AllowWildCards is equal to True. But it makes no difference. I still cannot use * or ?...
Like I already said, you are not at a regular command prompt. You are in the "Recovery Console". Compared to the normal command prompt, the Recovery Console is very limited. It only uses certain commands, and they don't all accept wildcards when AllowWildCards is set to TRUE. Copy is one such.
http://support.microsoft.com/kb/314058
As you can see, the Recovery Console has very limited capabilities for copying files, mostly intended to manually restore a good copy of a system file to the Windows directory.
Instead, think about booting your PC by something other than XP. A good choice would be a KNOPPIX "live" CD, which is a free download as an ISO image. It is a large download, about 700 Meg for the CD and a few Gig for the DVD. The difference is that the DVD has more applications. The CD will suffice for rescuing data. KNOPPIX is a flavor of LINUX, with very good intrinsic support for much hardware, in fact, better than XP itself. "live" means that it runs from CD without installing on the hard drive. KNOPPIX has a windows-like file manager, supports USB and firewire, and version 5 can write to disks formatted as FAT32 or NTFS, among others.
-
move C:\<blah> E:\<whateverdrive>
del C:\<blah>
Ignore this. No MOVE command in Recovery Console.
-
Sorry.
-
Sorry.
Never mind. At least you were trying to help. A better recovery console would be a great idea, but sadly we have to turn to other solutions.
-
Meh. What about copy?
-
Meh. What about copy?
One file at a time; no wildcards.
-
One file at a time; no wildcards.
Oh... I see.
-
The other thing that I'm still concerned about is getting to this one directory. In the recovery console it shows up as the previously mentioned 'BEHAVE!!! =>'.
I no longer know what the actual name of the directory is. Maybe the DOS-like display of the recovery console is putting in those = and > characters because the directory name is too long. I don't know.
As far as KNOPPIX goes, I wonder if I could download that onto a 1 GB flashdrive on my XP, and then set up the Vista to boot from a removable device?
-
As far as KNOPPIX goes, I wonder if I could download that onto a 1 GB flashdrive on my XP, and then set up the Vista to boot from a removable device?
http://www.pendrivelinux.com/installing-usb-knoppix-51-using-linux/
-
I don't know what this (partial) sentence means...
MOVE is not an internal DOS command.
yes it is...but your not using Command Prompt, your using recovery console....which is my bad...
see here:
http://www.computerhope.com/movehlp.htm (http://www.computerhope.com/movehlp.htm)
-
pmf getting gifed here. how about xcopy then?
-
pmf getting gifed here. how about xcopy then?
Not in Recovery Console.
-
ah I was thinking he was else were sorry about that copy seems to be your strongest point then.
-
I appreciate all the input, and I have used COPY to copy the pictures from the hard drive to the flash drive. And it seems to work just fine - I just can't use wildcards, which is workable - it just makes the process take longer.
And I HAVE copied all the individual pictures we want to the flash drive. EXCEPT for the items on the directory that displays in the recovery console as "BEHAVE!!! =>"
At this point I need a way to access this directory from the recovery console.
-
so you cant do it like copy C:\windows\documents and settings\desktop\*.jpg G:\
-
so you cant do it like copy C:\windows\documents and settings\desktop\*.jpg G:\
No, you can't use the * wildcard. You can use the ? one I think. (I'm not sure about that)
-
he could of probably used it, but I think that it only takes the place of one interger or something
-
No. I can't even use the '?'.
-
thats very odd????