Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Access a shared folder with command prompt?

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 12-03-2009
Member
 
Join Date: Dec 2008
Posts: 950
Access a shared folder with command prompt?
  

hello,
I want to access a shared folder on my network with cmd console, I tried :

Quote:
>\\192.168.1.198\documents
but the message I get is: The specified network name is no longer available.

any help?

Reply With Quote
  #2  
Old 12-03-2009
Member
 
Join Date: Mar 2008
Posts: 429
Re: Access a shared folder with command prompt?

1. In your command prompt, a

Quote:
C:\>dir \\192.168.1.1\documents
should work. Call directly

Quote:
C:\>\\192.168.1.1\documents
do not make sense because this is not a command.
Reply With Quote
  #3  
Old 12-03-2009
Member
 
Join Date: Nov 2008
Posts: 211
Re: Access a shared folder with command prompt?

I do not think you can directly access your shared folder from the command prompt.
What you can do is create a network drive pointing to the shared resource. You can then access the shared folder via the network drive letter.

To create a network drive with X: drive letter as:

Code:
net use x: \\192.168.1.198\documents
For help on this command, :

Code:
net help use
Reply With Quote
  #4  
Old 12-03-2009
Member
 
Join Date: Dec 2008
Posts: 950
Re: Access a shared folder with command prompt?

good evening,

ok thank you for your help.

another question: I have a folder structure that contains subfolders and each folder | Sub folder contains files. what I want to do is copy the architecture of the file but without copying their contents.
example, if I
Code:
folder1> subfolder1 | subfolder2 .... 
  folder2> subfolder22 .... 
  File ...
me what I want is just copy these file but without breaking their contents? would not be a trick to do that ???????
Reply With Quote
  #5  
Old 12-03-2009
Member
 
Join Date: Nov 2008
Posts: 211
Re: Access a shared folder with command prompt?

Try the xcopy command with the / T.

Code:
 xcopy source destination / T
For help:

Code:
  xcopy /?
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Access a shared folder with command prompt?"
Thread Thread Starter Forum Replies Last Post
Cannot access to shared folder from Vista BuvDeep Windows Security 3 09-05-2010 03:09 AM
Command prompt not working and Folder options not showing efyuze Operating Systems 1 25-01-2010 10:23 AM
Access Denied in Win Vista's command prompt Salome Operating Systems 2 23-02-2009 07:02 PM
Block Access to Command Prompt in windows xp pushpendra Operating Systems 3 12-01-2009 10:30 AM
How to delete folder from the command prompt? Jack Vista Help 7 07-03-2008 11:13 AM


All times are GMT +5.5. The time now is 02:09 AM.