Networking Forums

Networking Forums > Computer Networking > Windows Networking > Using Net Use command...

Reply
Thread Tools Display Modes

Using Net Use command...

 
 
Eric
Guest
Posts: n/a

 
      04-16-2007, 06:58 PM
Hello, I have an image cd which is bootablef or my Compaq computer. I get to
a dos like prompt after the cd boots so I can log into my network with my
user credentials, which works fine.

Once I'm in I should be able to use net use command. Evertytime I use "net
use x: \\dakota\...\..." whihc the (..) represent actual diectories - I get
an error saying, "syntax is incorrect, please use net help or net use /?".

What am I doing wrong, or is it a DNS issue or could it be permissions with
my account?
 
Reply With Quote
 
 
 
 
grep
Guest
Posts: n/a

 
      04-16-2007, 08:32 PM
You can only map a drive to a share, not to a folder off the share.

So let's say your share is SHARE1 and your folder is A. You could do:
net use x: \\dakota\SHARE1, but you can't use:
net use x: \\dakota\SHARE1\A

The way to get to folder A is to go to the x: drive, and then CD to A.
Alternately, you could create a new share on folder A (I'll call it
SHARE2) and then map your drive to it as:
net use y: \\dakota\SHARE2

Note that SHARE2 (aka y *points* to the same place as x:\A

grep

Eric wrote:
> Hello, I have an image cd which is bootablef or my Compaq computer. I get to
> a dos like prompt after the cd boots so I can log into my network with my
> user credentials, which works fine.
>
> Once I'm in I should be able to use net use command. Evertytime I use "net
> use x: \\dakota\...\..." whihc the (..) represent actual diectories - I get
> an error saying, "syntax is incorrect, please use net help or net use /?".
>
> What am I doing wrong, or is it a DNS issue or could it be permissions with
> my account?

 
Reply With Quote
 
Eric
Guest
Posts: n/a

 
      04-16-2007, 08:52 PM
I appreciate the answer, now I only have one more question. Now my boot disc
installs some networking components that allow me to connect to my network,
but I'm not booted into windows accessing command prompt. I'm in a DOS like
windows, so I can connect to the share on the network then access my Ghost
image to pull down to the computer.

Is the process going to be the same?

"grep" wrote:

> You can only map a drive to a share, not to a folder off the share.
>
> So let's say your share is SHARE1 and your folder is A. You could do:
> net use x: \\dakota\SHARE1, but you can't use:
> net use x: \\dakota\SHARE1\A
>
> The way to get to folder A is to go to the x: drive, and then CD to A.
> Alternately, you could create a new share on folder A (I'll call it
> SHARE2) and then map your drive to it as:
> net use y: \\dakota\SHARE2
>
> Note that SHARE2 (aka y *points* to the same place as x:\A
>
> grep
>
> Eric wrote:
> > Hello, I have an image cd which is bootablef or my Compaq computer. I get to
> > a dos like prompt after the cd boots so I can log into my network with my
> > user credentials, which works fine.
> >
> > Once I'm in I should be able to use net use command. Evertytime I use "net
> > use x: \\dakota\...\..." whihc the (..) represent actual diectories - I get
> > an error saying, "syntax is incorrect, please use net help or net use /?".
> >
> > What am I doing wrong, or is it a DNS issue or could it be permissions with
> > my account?

>

 
Reply With Quote
 
grep
Guest
Posts: n/a

 
      04-16-2007, 08:58 PM
I'm not sure about how Ghost will handle it, but I think you should be
able to point to the folder for the file, without a problem. If you
can't then just go back to your server and create a new share on the
folder that actually contains the file. Then there should be no problem
at all. It should work exactly the same.

grep

Eric wrote:
> I appreciate the answer, now I only have one more question. Now my boot disc
> installs some networking components that allow me to connect to my network,
> but I'm not booted into windows accessing command prompt. I'm in a DOS like
> windows, so I can connect to the share on the network then access my Ghost
> image to pull down to the computer.
>
> Is the process going to be the same?
>
> "grep" wrote:
>
>
>>You can only map a drive to a share, not to a folder off the share.
>>
>>So let's say your share is SHARE1 and your folder is A. You could do:
>>net use x: \\dakota\SHARE1, but you can't use:
>>net use x: \\dakota\SHARE1\A
>>
>>The way to get to folder A is to go to the x: drive, and then CD to A.
>>Alternately, you could create a new share on folder A (I'll call it
>>SHARE2) and then map your drive to it as:
>>net use y: \\dakota\SHARE2
>>
>>Note that SHARE2 (aka y *points* to the same place as x:\A
>>
>>grep
>>
>>Eric wrote:
>>
>>>Hello, I have an image cd which is bootablef or my Compaq computer. I get to
>>>a dos like prompt after the cd boots so I can log into my network with my
>>>user credentials, which works fine.
>>>
>>>Once I'm in I should be able to use net use command. Evertytime I use "net
>>>use x: \\dakota\...\..." whihc the (..) represent actual diectories - I get
>>>an error saying, "syntax is incorrect, please use net help or net use /?".
>>>
>>>What am I doing wrong, or is it a DNS issue or could it be permissions with
>>>my account?

>>

 
Reply With Quote
 
Eric
Guest
Posts: n/a

 
      04-16-2007, 09:24 PM
Last question I promise...When I do a "net logon" command is says I'm
currently logged as as my username. So I'm on my network, but is there
another way to just browse to a directory? The computer is Dakota, the share
is dept, and in there is a folder called 1stlevel. So I use net use x:
\\Dakota\dept\1stlevel and get the invalid syntax error.

But "cd" does network in the DOS "like" windoew I'm in. Is there some other
way to try and get to that directory? Also, if I'm on a nother computer that
works and I'm actually booted into windows and use command prompt, the net
use command works fine.


"grep" wrote:

> I'm not sure about how Ghost will handle it, but I think you should be
> able to point to the folder for the file, without a problem. If you
> can't then just go back to your server and create a new share on the
> folder that actually contains the file. Then there should be no problem
> at all. It should work exactly the same.
>
> grep
>
> Eric wrote:
> > I appreciate the answer, now I only have one more question. Now my boot disc
> > installs some networking components that allow me to connect to my network,
> > but I'm not booted into windows accessing command prompt. I'm in a DOS like
> > windows, so I can connect to the share on the network then access my Ghost
> > image to pull down to the computer.
> >
> > Is the process going to be the same?
> >
> > "grep" wrote:
> >
> >
> >>You can only map a drive to a share, not to a folder off the share.
> >>
> >>So let's say your share is SHARE1 and your folder is A. You could do:
> >>net use x: \\dakota\SHARE1, but you can't use:
> >>net use x: \\dakota\SHARE1\A
> >>
> >>The way to get to folder A is to go to the x: drive, and then CD to A.
> >>Alternately, you could create a new share on folder A (I'll call it
> >>SHARE2) and then map your drive to it as:
> >>net use y: \\dakota\SHARE2
> >>
> >>Note that SHARE2 (aka y *points* to the same place as x:\A
> >>
> >>grep
> >>
> >>Eric wrote:
> >>
> >>>Hello, I have an image cd which is bootablef or my Compaq computer. I get to
> >>>a dos like prompt after the cd boots so I can log into my network with my
> >>>user credentials, which works fine.
> >>>
> >>>Once I'm in I should be able to use net use command. Evertytime I use "net
> >>>use x: \\dakota\...\..." whihc the (..) represent actual diectories - I get
> >>>an error saying, "syntax is incorrect, please use net help or net use /?".
> >>>
> >>>What am I doing wrong, or is it a DNS issue or could it be permissions with
> >>>my account?
> >>

>

 
Reply With Quote
 
grep
Guest
Posts: n/a

 
      04-16-2007, 09:33 PM
Eric,

Again, you can't use net user with a folder. You can only map a drive to
a share, not a folder. So you can't do net use x:
\\dakota\dept\1stlevel, but you could do net use x: \\dakota\dept.

If you're sure you can't actually do (from the x: drive) cd 1stlevel, to
reach your data, then you'd probably be best off creating a share on
dakota called 1stlevel, for example, that is *on* the dept\1stlevel
folder. Then, instead of mapping to dept, you'd map like this:
net use x: \\dakota\1stlevel, and that would put you right where you want.

grep

Eric wrote:
> Last question I promise...When I do a "net logon" command is says I'm
> currently logged as as my username. So I'm on my network, but is there
> another way to just browse to a directory? The computer is Dakota, the share
> is dept, and in there is a folder called 1stlevel. So I use net use x:
> \\Dakota\dept\1stlevel and get the invalid syntax error.
>
> But "cd" does network in the DOS "like" windoew I'm in. Is there some other
> way to try and get to that directory? Also, if I'm on a nother computer that
> works and I'm actually booted into windows and use command prompt, the net
> use command works fine.
>
>
> "grep" wrote:
>
>
>>I'm not sure about how Ghost will handle it, but I think you should be
>>able to point to the folder for the file, without a problem. If you
>>can't then just go back to your server and create a new share on the
>>folder that actually contains the file. Then there should be no problem
>>at all. It should work exactly the same.
>>
>>grep
>>
>>Eric wrote:
>>
>>>I appreciate the answer, now I only have one more question. Now my boot disc
>>>installs some networking components that allow me to connect to my network,
>>>but I'm not booted into windows accessing command prompt. I'm in a DOS like
>>>windows, so I can connect to the share on the network then access my Ghost
>>>image to pull down to the computer.
>>>
>>>Is the process going to be the same?
>>>
>>>"grep" wrote:
>>>
>>>
>>>
>>>>You can only map a drive to a share, not to a folder off the share.
>>>>
>>>>So let's say your share is SHARE1 and your folder is A. You could do:
>>>>net use x: \\dakota\SHARE1, but you can't use:
>>>>net use x: \\dakota\SHARE1\A
>>>>
>>>>The way to get to folder A is to go to the x: drive, and then CD to A.
>>>>Alternately, you could create a new share on folder A (I'll call it
>>>>SHARE2) and then map your drive to it as:
>>>>net use y: \\dakota\SHARE2
>>>>
>>>>Note that SHARE2 (aka y *points* to the same place as x:\A
>>>>
>>>>grep
>>>>
>>>>Eric wrote:
>>>>
>>>>
>>>>>Hello, I have an image cd which is bootablef or my Compaq computer. I get to
>>>>>a dos like prompt after the cd boots so I can log into my network with my
>>>>>user credentials, which works fine.
>>>>>
>>>>>Once I'm in I should be able to use net use command. Evertytime I use "net
>>>>>use x: \\dakota\...\..." whihc the (..) represent actual diectories - I get
>>>>>an error saying, "syntax is incorrect, please use net help or net use /?".
>>>>>
>>>>>What am I doing wrong, or is it a DNS issue or could it be permissions with
>>>>>my account?
>>>>

 
Reply With Quote
 
Eric
Guest
Posts: n/a

 
      04-16-2007, 10:42 PM
Ok, so I think I got it, but my next question would be, if I do just "net use
x: \\dakota\dept" and still get a "syntax error is incorrect" message. might
that have to do with my permissions on the share itself? I ask because I'm
pretty sure I tried "net use x: \\dakota\dept" already.

"grep" wrote:

> Eric,
>
> Again, you can't use net user with a folder. You can only map a drive to
> a share, not a folder. So you can't do net use x:
> \\dakota\dept\1stlevel, but you could do net use x: \\dakota\dept.
>
> If you're sure you can't actually do (from the x: drive) cd 1stlevel, to
> reach your data, then you'd probably be best off creating a share on
> dakota called 1stlevel, for example, that is *on* the dept\1stlevel
> folder. Then, instead of mapping to dept, you'd map like this:
> net use x: \\dakota\1stlevel, and that would put you right where you want.
>
> grep
>
> Eric wrote:
> > Last question I promise...When I do a "net logon" command is says I'm
> > currently logged as as my username. So I'm on my network, but is there
> > another way to just browse to a directory? The computer is Dakota, the share
> > is dept, and in there is a folder called 1stlevel. So I use net use x:
> > \\Dakota\dept\1stlevel and get the invalid syntax error.
> >
> > But "cd" does network in the DOS "like" windoew I'm in. Is there some other
> > way to try and get to that directory? Also, if I'm on a nother computer that
> > works and I'm actually booted into windows and use command prompt, the net
> > use command works fine.
> >
> >
> > "grep" wrote:
> >
> >
> >>I'm not sure about how Ghost will handle it, but I think you should be
> >>able to point to the folder for the file, without a problem. If you
> >>can't then just go back to your server and create a new share on the
> >>folder that actually contains the file. Then there should be no problem
> >>at all. It should work exactly the same.
> >>
> >>grep
> >>
> >>Eric wrote:
> >>
> >>>I appreciate the answer, now I only have one more question. Now my boot disc
> >>>installs some networking components that allow me to connect to my network,
> >>>but I'm not booted into windows accessing command prompt. I'm in a DOS like
> >>>windows, so I can connect to the share on the network then access my Ghost
> >>>image to pull down to the computer.
> >>>
> >>>Is the process going to be the same?
> >>>
> >>>"grep" wrote:
> >>>
> >>>
> >>>
> >>>>You can only map a drive to a share, not to a folder off the share.
> >>>>
> >>>>So let's say your share is SHARE1 and your folder is A. You could do:
> >>>>net use x: \\dakota\SHARE1, but you can't use:
> >>>>net use x: \\dakota\SHARE1\A
> >>>>
> >>>>The way to get to folder A is to go to the x: drive, and then CD to A.
> >>>>Alternately, you could create a new share on folder A (I'll call it
> >>>>SHARE2) and then map your drive to it as:
> >>>>net use y: \\dakota\SHARE2
> >>>>
> >>>>Note that SHARE2 (aka y *points* to the same place as x:\A
> >>>>
> >>>>grep
> >>>>
> >>>>Eric wrote:
> >>>>
> >>>>
> >>>>>Hello, I have an image cd which is bootablef or my Compaq computer. I get to
> >>>>>a dos like prompt after the cd boots so I can log into my network with my
> >>>>>user credentials, which works fine.
> >>>>>
> >>>>>Once I'm in I should be able to use net use command. Evertytime I use "net
> >>>>>use x: \\dakota\...\..." whihc the (..) represent actual diectories - I get
> >>>>>an error saying, "syntax is incorrect, please use net help or net use /?".
> >>>>>
> >>>>>What am I doing wrong, or is it a DNS issue or could it be permissions with
> >>>>>my account?
> >>>>

>

 
Reply With Quote
 
grep
Guest
Posts: n/a

 
      04-17-2007, 12:30 PM
You could get a permissions error, sure. But you wouldn't get a syntax
error. A syntax error means there's something wrong with the command
itself, not the result of the command.

grep

Eric wrote:
> Ok, so I think I got it, but my next question would be, if I do just "net use
> x: \\dakota\dept" and still get a "syntax error is incorrect" message. might
> that have to do with my permissions on the share itself? I ask because I'm
> pretty sure I tried "net use x: \\dakota\dept" already.
>
> "grep" wrote:
>
>
>>Eric,
>>
>>Again, you can't use net user with a folder. You can only map a drive to
>>a share, not a folder. So you can't do net use x:
>>\\dakota\dept\1stlevel, but you could do net use x: \\dakota\dept.
>>
>>If you're sure you can't actually do (from the x: drive) cd 1stlevel, to
>>reach your data, then you'd probably be best off creating a share on
>>dakota called 1stlevel, for example, that is *on* the dept\1stlevel
>>folder. Then, instead of mapping to dept, you'd map like this:
>>net use x: \\dakota\1stlevel, and that would put you right where you want.
>>
>>grep
>>
>>Eric wrote:
>>
>>>Last question I promise...When I do a "net logon" command is says I'm
>>>currently logged as as my username. So I'm on my network, but is there
>>>another way to just browse to a directory? The computer is Dakota, the share
>>>is dept, and in there is a folder called 1stlevel. So I use net use x:
>>>\\Dakota\dept\1stlevel and get the invalid syntax error.
>>>
>>>But "cd" does network in the DOS "like" windoew I'm in. Is there some other
>>>way to try and get to that directory? Also, if I'm on a nother computer that
>>>works and I'm actually booted into windows and use command prompt, the net
>>>use command works fine.
>>>
>>>
>>>"grep" wrote:
>>>
>>>
>>>
>>>>I'm not sure about how Ghost will handle it, but I think you should be
>>>>able to point to the folder for the file, without a problem. If you
>>>>can't then just go back to your server and create a new share on the
>>>>folder that actually contains the file. Then there should be no problem
>>>>at all. It should work exactly the same.
>>>>
>>>>grep
>>>>
>>>>Eric wrote:
>>>>
>>>>
>>>>>I appreciate the answer, now I only have one more question. Now my boot disc
>>>>>installs some networking components that allow me to connect to my network,
>>>>>but I'm not booted into windows accessing command prompt. I'm in a DOS like
>>>>>windows, so I can connect to the share on the network then access my Ghost
>>>>>image to pull down to the computer.
>>>>>
>>>>>Is the process going to be the same?
>>>>>
>>>>>"grep" wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>You can only map a drive to a share, not to a folder off the share.
>>>>>>
>>>>>>So let's say your share is SHARE1 and your folder is A. You could do:
>>>>>>net use x: \\dakota\SHARE1, but you can't use:
>>>>>>net use x: \\dakota\SHARE1\A
>>>>>>
>>>>>>The way to get to folder A is to go to the x: drive, and then CD to A.
>>>>>>Alternately, you could create a new share on folder A (I'll call it
>>>>>>SHARE2) and then map your drive to it as:
>>>>>>net use y: \\dakota\SHARE2
>>>>>>
>>>>>>Note that SHARE2 (aka y *points* to the same place as x:\A
>>>>>>
>>>>>>grep
>>>>>>
>>>>>>Eric wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hello, I have an image cd which is bootablef or my Compaq computer. I get to
>>>>>>>a dos like prompt after the cd boots so I can log into my network with my
>>>>>>>user credentials, which works fine.
>>>>>>>
>>>>>>>Once I'm in I should be able to use net use command. Evertytime I use "net
>>>>>>>use x: \\dakota\...\..." whihc the (..) represent actual diectories - I get
>>>>>>>an error saying, "syntax is incorrect, please use net help or net use /?".
>>>>>>>
>>>>>>>What am I doing wrong, or is it a DNS issue or could it be permissions with
>>>>>>>my account?
>>>>>>

 
Reply With Quote
 
Eric
Guest
Posts: n/a

 
      04-17-2007, 01:52 PM
Thanks for all the help, it still doesn't work as of now, I still get either
a syntax error or when I use "net use x: \\dakota\dept", I get an error
saying "error code 58: the network responded incorrectly". So something else
is wrong and I figure I will have to go some other route.

Thanks!

"grep" wrote:

> You could get a permissions error, sure. But you wouldn't get a syntax
> error. A syntax error means there's something wrong with the command
> itself, not the result of the command.
>
> grep
>
> Eric wrote:
> > Ok, so I think I got it, but my next question would be, if I do just "net use
> > x: \\dakota\dept" and still get a "syntax error is incorrect" message. might
> > that have to do with my permissions on the share itself? I ask because I'm
> > pretty sure I tried "net use x: \\dakota\dept" already.
> >
> > "grep" wrote:
> >
> >
> >>Eric,
> >>
> >>Again, you can't use net user with a folder. You can only map a drive to
> >>a share, not a folder. So you can't do net use x:
> >>\\dakota\dept\1stlevel, but you could do net use x: \\dakota\dept.
> >>
> >>If you're sure you can't actually do (from the x: drive) cd 1stlevel, to
> >>reach your data, then you'd probably be best off creating a share on
> >>dakota called 1stlevel, for example, that is *on* the dept\1stlevel
> >>folder. Then, instead of mapping to dept, you'd map like this:
> >>net use x: \\dakota\1stlevel, and that would put you right where you want.
> >>
> >>grep
> >>
> >>Eric wrote:
> >>
> >>>Last question I promise...When I do a "net logon" command is says I'm
> >>>currently logged as as my username. So I'm on my network, but is there
> >>>another way to just browse to a directory? The computer is Dakota, the share
> >>>is dept, and in there is a folder called 1stlevel. So I use net use x:
> >>>\\Dakota\dept\1stlevel and get the invalid syntax error.
> >>>
> >>>But "cd" does network in the DOS "like" windoew I'm in. Is there some other
> >>>way to try and get to that directory? Also, if I'm on a nother computer that
> >>>works and I'm actually booted into windows and use command prompt, the net
> >>>use command works fine.
> >>>
> >>>
> >>>"grep" wrote:
> >>>
> >>>
> >>>
> >>>>I'm not sure about how Ghost will handle it, but I think you should be
> >>>>able to point to the folder for the file, without a problem. If you
> >>>>can't then just go back to your server and create a new share on the
> >>>>folder that actually contains the file. Then there should be no problem
> >>>>at all. It should work exactly the same.
> >>>>
> >>>>grep
> >>>>
> >>>>Eric wrote:
> >>>>
> >>>>
> >>>>>I appreciate the answer, now I only have one more question. Now my boot disc
> >>>>>installs some networking components that allow me to connect to my network,
> >>>>>but I'm not booted into windows accessing command prompt. I'm in a DOS like
> >>>>>windows, so I can connect to the share on the network then access my Ghost
> >>>>>image to pull down to the computer.
> >>>>>
> >>>>>Is the process going to be the same?
> >>>>>
> >>>>>"grep" wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>You can only map a drive to a share, not to a folder off the share.
> >>>>>>
> >>>>>>So let's say your share is SHARE1 and your folder is A. You could do:
> >>>>>>net use x: \\dakota\SHARE1, but you can't use:
> >>>>>>net use x: \\dakota\SHARE1\A
> >>>>>>
> >>>>>>The way to get to folder A is to go to the x: drive, and then CD to A.
> >>>>>>Alternately, you could create a new share on folder A (I'll call it
> >>>>>>SHARE2) and then map your drive to it as:
> >>>>>>net use y: \\dakota\SHARE2
> >>>>>>
> >>>>>>Note that SHARE2 (aka y *points* to the same place as x:\A
> >>>>>>
> >>>>>>grep
> >>>>>>
> >>>>>>Eric wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>Hello, I have an image cd which is bootablef or my Compaq computer. I get to
> >>>>>>>a dos like prompt after the cd boots so I can log into my network with my
> >>>>>>>user credentials, which works fine.
> >>>>>>>
> >>>>>>>Once I'm in I should be able to use net use command. Evertytime I use "net
> >>>>>>>use x: \\dakota\...\..." whihc the (..) represent actual diectories - I get
> >>>>>>>an error saying, "syntax is incorrect, please use net help or net use /?".
> >>>>>>>
> >>>>>>>What am I doing wrong, or is it a DNS issue or could it be permissions with
> >>>>>>>my account?
> >>>>>>

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SP3 Netsh command does not include wlan command. Stephen Liffen Wireless Networks 4 09-15-2008 02:42 PM
Need help in 'at' command R C V Linux Networking 6 04-03-2008 11:20 AM
dd-wrt ntp command skdjfa Wireless Internet 2 06-26-2006 04:24 PM
DNS and LS command TheBib Windows Networking 2 02-18-2006 03:50 PM
Is There A Command Dan Linux Networking 4 04-21-2005 07:48 AM



1 2 3 4 5 6 7 8 9 10 11