Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Tried to run batch file and get no results

29 Oct 2010   #1

Windows 7 HP 64
 
 
Tried to run batch file and get no results

I tried to run this simple copy batch file and get no results. Any ideas would be appreciated.
copy "c:\aquarium\aqr\abases\*.*" "N:"
Thanks, CMA


My System SpecsSystem Spec
.

29 Oct 2010   #2

 

I made a similar test in my computer using the cmd prompt as follows:

Code:
E:\>copy e:\temp\{0E6FA02E-9639-4933-A588-AC6CB8BCFAA3}\*.* d:
e:\temp\{0E6FA02E-9639-4933-A588-AC6CB8BCFAA3}\ISBEW64.exe
        1 file(s) copied.

E:\>copy "e:\temp\{0E6FA02E-9639-4933-A588-AC6CB8BCFAA3}\*.*" "d:"
e:\temp\{0E6FA02E-9639-4933-A588-AC6CB8BCFAA3}\ISBEW64.exe
Overwrite d:ISBEW64.exe? (Yes/No/All): a
        1 file(s) copied.

E:\>
As you can see, it made no difference with the quotation marks or without. So, my next question is this:

What, exactly, is your N: drive? Is it a network share? A mapped location? A physical optical drive? A USB key drive?
My System SpecsSystem Spec
29 Oct 2010   #3

Windows 7 HP 64
 
 

Quote   Quote: Originally Posted by johngalt View Post
I made a similar test in my computer using the cmd prompt as follows:

Code:
E:\>copy e:\temp\{0E6FA02E-9639-4933-A588-AC6CB8BCFAA3}\*.* d:
e:\temp\{0E6FA02E-9639-4933-A588-AC6CB8BCFAA3}\ISBEW64.exe
        1 file(s) copied.

E:\>copy "e:\temp\{0E6FA02E-9639-4933-A588-AC6CB8BCFAA3}\*.*" "d:"
e:\temp\{0E6FA02E-9639-4933-A588-AC6CB8BCFAA3}\ISBEW64.exe
Overwrite d:ISBEW64.exe? (Yes/No/All): a
        1 file(s) copied.

E:\>
As you can see, it made no difference with the quotation marks or without. So, my next question is this:

What, exactly, is your N: drive? Is it a network share? A mapped location? A physical optical drive? A USB key drive?
Hi John:
thanks for the response. N: is a network location, e.g., mapped location (folder on another system.)
I tried the same batch file using F:\csp instead of N: but still nothing was copied. where F: is an external HD.
My System SpecsSystem Spec
.


29 Oct 2010   #4

Windows 7 HP 64
 
 

Quote   Quote: Originally Posted by cma6 View Post
Quote   Quote: Originally Posted by johngalt View Post
I made a similar test in my computer using the cmd prompt as follows:

Code:
E:\>copy e:\temp\{0E6FA02E-9639-4933-A588-AC6CB8BCFAA3}\*.* d:
e:\temp\{0E6FA02E-9639-4933-A588-AC6CB8BCFAA3}\ISBEW64.exe
        1 file(s) copied.

E:\>copy "e:\temp\{0E6FA02E-9639-4933-A588-AC6CB8BCFAA3}\*.*" "d:"
e:\temp\{0E6FA02E-9639-4933-A588-AC6CB8BCFAA3}\ISBEW64.exe
Overwrite d:ISBEW64.exe? (Yes/No/All): a
        1 file(s) copied.

E:\>
As you can see, it made no difference with the quotation marks or without. So, my next question is this:

What, exactly, is your N: drive? Is it a network share? A mapped location? A physical optical drive? A USB key drive?
Hi John:
thanks for the response. N: is a network location, e.g., mapped location (folder on another system.)
I tried the same batch file using F:\csp instead of N: but still nothing was copied. where F: is an external HD.
John: you were right. The batch file works perfectly. I had the wrong folder path. BTW what is tthe difference between a network share and a mapped location?
My System SpecsSystem Spec
29 Oct 2010   #5

Windows 7 Ultimate x64 SP1
 
 

Quote   Quote: Originally Posted by cma6 View Post
John: you were right. The batch file works perfectly. I had the wrong folder path. BTW what is tthe difference between a network share and a mapped location?
I don't mean to respond for John so, forgive me, but, generally speaking, a "network share" is accessed through UNC nomenclature such as "\\server\folder" whereas a "mapped location" can be accessed directly via "x:\folder." ("x" being any drive designation mapped to a network share and "server" being the network location of a shared folder)
My System SpecsSystem Spec
Reply

 Tried to run batch file and get no results




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:03 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33