Windows 7 Forums


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


Last edited by Brink; 30 Oct 2010 at 02:09 AM.. Reason: moved
My System SpecsSystem Spec

29 Oct 2010   #2

Windows 7 Ultimate x64 SP1
Somewhere on the 3rd rock from the sun.
 
 

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)

Last edited by mikedl; 30 Oct 2010 at 12:54 AM..
My System SpecsSystem Spec
Reply

 Tried to run batch file and get no results problems?



Thread Tools



Similar help and support threads for: Tried to run batch file and get no results
Thread Forum
Solved Batch File that grabs file names from folder to insert into batch file General Discussion
Help required creating batch file to read .csv file General Discussion
batch file open file for program in the startup folder General Discussion
Batch file General Discussion
How to create a batch file that will move files based on the file type General Discussion


All times are GMT -5. The time now is 06:08 PM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

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