H:\>net help use
The syntax of this command is:
NET USE [devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]
NET USE {devicename | *} [password | *] /HOME
NET USE [/PERSISTENT:{YES | NO}]
NET USE connects a computer to a shared resource or disconnects a
computer from a shared resource. When used without options, it lists
the computer's connections.
devicename Assigns a name to connect to the resource or specifies
the device to be disconnected. There are two kinds of
devicenames: disk drives (D: through Z:) and printers
(LPT1: through LPT3:). Type an asterisk instead of a
specific devicename to assign the next available
devicename.
\\computername Is the name of the computer controlling the shared
resource. If the computername contains blank characters,
enclose the double backslash (\\) and the computername
in quotation marks (" "). The computername may be from
1 to 15 characters long.
\sharename Is the network name of the shared resource.
\volume Specifies a NetWare volume on the server. You must have
Client Services for Netware (Windows Workstations)
or Gateway Service for Netware (Windows Server)
installed and running to connect to NetWare servers.
password Is the password needed to access the shared resource.
* Produces a prompt for the password. The password is
not displayed when you type it at the password prompt.
/USER Specifies a different username with which the connection
is made.
domainname Specifies another domain. If domain is omitted,
the current logged on domain is used.
username Specifies the username with which to logon.
/HOME Connects a user to their home directory.
/DELETE Cancels a network connection and removes the connection
from the list of persistent connections.
/PERSISTENT Controls the use of persistent network connections.
The default is the setting used last.
YES Saves connections as they are made, and restores
them at next logon.
NO Does not save the connection being made or subsequent
connections; existing connections will be restored at
next logon. Use the /DELETE switch to remove
persistent connections.
NET HELP command | MORE displays Help one screen at a time.
H:\>
Mappen en ftp som nätverksenhet?
9 svar · 499 visningar · startad av Sjodahl
Japp det är jag med på.
Men det är så att jag måste ange ett IP istället (typ ftp://ftpadress)? för \\computername ligger inte på det lokalanätverket.
Hej hej. Stoffe är inne på rätt spår men du bör fixa till namnuppslagningen först. Se nedan. I och med att Net Use använder sig av netbios namn får du "luras" i din lmhosts fil.
A. Its possible to configure a machine to map to a FTP server as a drive (for instance the Microsoft site) providing the machine runs both NetBEUI and TCP/IP. Perform the following:
Perform a NSLOOKUP for the FTP site, e.g.
nslookup ftp.microsoft.com
make a note of the IP address
Edit the LMHOSTS file (in %systemroot%\system32\drivers\etc)
Add line
<ip address> MicrosoftFTP #PRE
e.g. 207.46.133.140 MicrosoftFTP #PRE
Save the file
Open a CMD.EXE session. Enter command:
nbtstat -R
This purges and reloads the name table cache
Type command:
net view \\MicrosoftFTP
You should see information on the site
Now map a drive (to share data)
net use * \\MicrosoftFTP\data /user:anonymous
All done. It will pass a drive letter for the connection
Ett bra tips... tackar!
men går det bra att använda ftp där ? Hm får testa återkommer...
C:\>net use * \\hostname /user:nisse
"System error 53 has occurred.
The network path was not found."
men kan skriva "ping hostname"
"A. Its possible to configure a machine to map to a FTP server as a drive (for instance the Microsoft site) providing the machine runs both NetBEUI and TCP/IP. Perform the following:"
Hej sjödal,
Jag klippte ut det från ett forum och postade det utan att tänka. Möjligen fungerade det på windows 95 tiden men jag har svårt att tänka mig att det skulle fungera nu.
Bara för att man råkar ange ett IP nummer (till en FTP server) till Net use.exe så kommer den inte automatiskt att använda FTP protokollet.
Ytterligare en sökning på google ger träffar typ:
http://www.bmtmicro.com/BMTCatalog/win/webdrive.html
Det verkar som att det är något liknade denna du vill ha. Notera att den verkar vara tillverkad för just windows 95.
Vad är du ute efter igentligen?
Med "add network place" i "My network places" kan du skapa en länk till en ftp server. Men jag tror inte att du kan mappa den till en nätverks enhet. Det blir dock fortfarande enkelt att accessa ftp servern.
Antar att länkar skapade med den wizzarden använder webläsaren som ftp klient i slutändan.
Japp men kan bara inte förstå varför det inte går (eller förstår det) men tycker det hade varit en smidig funktion.
Typ kunna mappa upp andra ftper på sin egen ftp ;)

