problem using NET USE

J

Jeff

hey

Windows XP Pro + sp2

I've just created a DOS startup disk from my winxp machine. Then I put it
into my other machine and started it with that disket. I typed "net use /?"
and "net"... but I only get this message:
Bad command or file name

I think I get this error because there are some files I need to copy over
the disket, but I'm not sure what files to copy over..??

any suggestions?
 
P

Patrick Keenan

Jeff said:
hey

Windows XP Pro + sp2

I've just created a DOS startup disk from my winxp machine. Then I put it
into my other machine and started it with that disket. I typed "net use
/?" and "net"... but I only get this message:
Bad command or file name

I think I get this error because there are some files I need to copy over
the disket, but I'm not sure what files to copy over..??

any suggestions?

If this is actually a DOS boot disk, created from a DOS or Win9x system,
it's not likely to work.

First, DOS disks normally cannot access NTFS drives without special 3rd
party drivers, and many if not most XP installs are to NTFS filesystems; if
the drive is over 40 gig, it's almost guaranteed to be NTFS.

Second, you probably didn't specify the path to net.exe, but that wouldn't
matter if the boot disk doesn't give you disk access and doesn't recognise
the hard disk. If you did have disk access, you'd have to either use a
PATH command to include the location of net.exe or type out the complete
location. Note that you would likely have to use the shortened file and
directory names.

And third, the version of net.exe found on XP probably won't run under DOS
or Win 9x.

If you could be more specific about the "DOS startup disk" and how you made
it, that might get you better information.

HTH
-pk
 
J

Jeff

I created the DOS Startup disk because I'm experimenting with creating
unattended installation of winsows XP. The machine boots from the disket.
Then connect to a network share and complete the installation from there (it
doesn't connect, because I get "Bad command or file name" when using net
use).

I created the DOS startup disk by going into Explorer and select format this
disk, then I checked for make it a dos startup disk

I have an win2k3 machine here, maybe it would be better to create startup
disk using that machine instead?
 
P

Pegasus \(MVP\)

Jeff said:
I created the DOS Startup disk because I'm experimenting with creating
unattended installation of winsows XP. The machine boots from the disket.
Then connect to a network share and complete the installation from there
(it doesn't connect, because I get "Bad command or file name" when using
net use).

I created the DOS startup disk by going into Explorer and select format
this disk, then I checked for make it a dos startup disk

I have an win2k3 machine here, maybe it would be better to create startup
disk using that machine instead?

You need a DOS network boot diskette to achieve your aim. Here are some
links on how to create one or download one:
http://support.microsoft.com/kb/142857
http://www.nu2.nu/bootdisk/network/
www.bootdisk.com
Note that you must adjust the disk to suit your network adapters.
 
J

Jeff

I'm now considering to use a bootable cd with the installation files on, so
if I do that I don't think I'll need to access the net share from dos
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top