What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » [URGENT]Copy file from my documents to A: In command prompt

Pages: (2): « First [ 1 ] 2 » Last »
[URGENT]Copy file from my documents to A: In command prompt
Author: Message:
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. [URGENT]Copy file from my documents to A: In command prompt
hi

how do i do what the title says?

Copy file from my documents to A: In command prompt

is there a way i can view files in the my documents folder? so i can check the filename? thanks

what would i have to type in for AAA.doc from my documents to the A drive? the whole laptop is screwed... i just desperately need the essay that is on the hard drive

Thanks!

[Image: lost7ru.gif]
10-08-2006 09:17 PM
Profile E-Mail PM Find Quote Report
ins4ne
Veteran Member
*****

Avatar
...

Posts: 1015
Reputation: 38
37 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [URGENT]Copy file from my documents to A: In command prompt
use /dir to look up the content of drive. but for the rest :$ dont know sorry

This post was edited on 10-08-2006 at 09:19 PM by ins4ne.
[Image: b5c5bb366c94ba43283cc13901380e3e.png]
10-08-2006 09:19 PM
Profile PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: [URGENT]Copy file from my documents to A: In command prompt
...maybe "cd 'My Documents'" "copy AAA.doc A:\"?
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
10-08-2006 09:20 PM
Profile PM Web Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. RE: [URGENT]Copy file from my documents to A: In command prompt
quote:
Originally posted by ins4ne
use /dir to look up the content of drive. but for the rest :$ dont know sorry

it just gives loads of .exes and i cant 'scroll up' to see whats at the start of the list.

[Image: lost7ru.gif]
10-08-2006 09:21 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [URGENT]Copy file from my documents to A: In command prompt
Syntax:

COPY SOURCE DESTINATION

eg:

copy "c:\my documents\aaa.doc" a:


Syntax:

DIR path_or_filename [/W] [/P]

can include wildcards
/W optional, show the list in a wide view
/P optional, show the list page per page

eg:

dir "c:\my documents\*.doc"
dir "c:\my documents\hello?.exe" /p
dir "c:\my documents\a*.xls" /w



more detailed help can be found if you enter the /? parameter after the command you want to use. eg:
  dir /?
  cd /?
  copy /?
etc...

This post was edited on 10-08-2006 at 09:33 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-08-2006 09:22 PM
Profile PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: [URGENT]Copy file from my documents to A: In command prompt
quote:
Originally posted by M73A
Copy file from my documents to A: In command prompt
code:
cd "c:\documents and settings\<username>\my documents"
cp filename.ext a:\filename.ext

quote:
Originally posted by M73A
is there a way i can view files in the my documents folder? so i can check the filename? thanks
code:
cd "c:\documents and settings\<username>\my documents"
dir *.ext /p

quote:
Originally posted by M73A
what would i have to type in for AAA.doc from my documents to the A drive?
code:
copy "c:\documents and settings\<username>\my documents\AAA.doc" a:\AAA.doc

EDIT: yea i'm slow :P

This post was edited on 10-08-2006 at 09:23 PM by Dempsey.
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
10-08-2006 09:22 PM
Profile E-Mail PM Web Find Quote Report
ins4ne
Veteran Member
*****

Avatar
...

Posts: 1015
Reputation: 38
37 / Male / Flag
Joined: Apr 2006
Status: Away
RE: [URGENT]Copy file from my documents to A: In command prompt
quote:
Originally posted by M73A
it just gives loads of .exes and i cant 'scroll up' to see whats at the start of the list.
damn thats not so good. command prompt sux. do you know where your essaye is? main folder? subfolder?

This post was edited on 10-08-2006 at 09:23 PM by ins4ne.
[Image: b5c5bb366c94ba43283cc13901380e3e.png]
10-08-2006 09:22 PM
Profile PM Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. RE: [URGENT]Copy file from my documents to A: In command prompt
quote:
Originally posted by ShawnZ
...maybe "cd 'My Documents'" "copy AAA.doc A:\"?


my documents give invalid directory:(

thanks a ton for the help guys

hey dempsey its windows 98, so it doesnt have the documents and settings bit.... i think:S

This post was edited on 10-08-2006 at 09:23 PM by M73A.

[Image: lost7ru.gif]
10-08-2006 09:22 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: [URGENT]Copy file from my documents to A: In command prompt
quote:
Originally posted by M73A
quote:
Originally posted by ShawnZ
...maybe "cd 'My Documents'" "copy AAA.doc A:\"?


my documents give invalid directory:(
because that command makes no sense :p

see "CookieRevised's reply to [URGENT]Copy file from my documents to A: In command prompt"


quote:
Originally posted by M73A
hey dempsey its windows 98, so it doesnt have the documents and settings bit.... i think:S
it does... only there is a possebility that your command prompt will show everything in 8.3 format and not in long file names.

Everything works the same in 8.3 format, only names are shorter (max 8 characters long and max 3 characters for the extension)...

So start at your root, which is C:   :
c:      thanks to shawnz for notifying about the mistake
cd \

next, list the directories in the root:
dir *. /p

now you'll see a bunch of directories, go to the "Documents and Settings" directory (or whatever equivalent it is in 98, don't remember). If it is 8.3 format, it would be something like this:
cd docume~1

again show the list of directories:
dir *. /p

Now go to your user name:
cd myname

Do again a list of directories:
dir *. /p

You now should see the "my documents" folder, so go to it:
cd mydocu~1

of course your path to "my documents" can be different (I used "c:\documents and settings\myname\my documents" for the example, but the way to get there just the same stuff...)

This post was edited on 10-08-2006 at 09:42 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
10-08-2006 09:32 PM
Profile PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: [URGENT]Copy file from my documents to A: In command prompt
quote:
Originally posted by CookieRevised
because that command makes no sense

why?

quote:
Originally posted by CookieRevised
cd c:

that, however, makes no sense. you can't cd to a drive.


cd c:\windows\profiles\myusername\mydocu~1\
c:


that is the correct way to change drives
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
10-08-2006 09:37 PM
Profile PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On