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
cma6

Microsoft Windows 7 Professional 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
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
johngalt

 

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
cma6

Microsoft Windows 7 Professional 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

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
cma6

Microsoft Windows 7 Professional 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

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
mikedl

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




Similar help and support threads
Thread Forum
How can I write a batch file that opens a file in a program?
I wrote this batch file which does what I want it to do so far. @echo off "C:\Users\xxxxxx\Documents\HideTaskbar\HideTaskbar.exe" "C:\Program Files (x86)\VideoLANold\VLC\vlc.exe" "C:\Users\xxxxxx\Documents\HideTaskbar\ShowTaskbar.exe" exit
General Discussion
I need a batch file to open a random file within a certain folder/path
I want a batch to select and open a random link file in a folder i have. All the links are music videos I like to listen to, and I kind of want to just have an option for 'surprise me!'. I can change the file names if I have to, and I have a basic batch file ability. I know the simple commands,...
General Discussion
How to run a batch file at logoff & some batch scripting help please
Hiya, I'd just like to run a simple batch file at logoff to backup some settings. I plan to use Robocopy, which is what i use to more thorough backups. Two questions: 1. How make it run by clicking Start > Shutdown? (i realise i could make a shutdown batch file and run it instead, but i'd...
Backup and Restore
Batch File that grabs file names from folder to insert into batch file
Ok I'm totally at a loss on how to word this so I'm just going to write it out the best that I can... :confused: First I have a batch file that I'm writing that will convert mp4 files to mp3 files (I have a lot) for a buddies band using ffmpeg. Here's the code that I'm using: ffmpeg -i...
General Discussion
batch file open file for program in the startup folder
I have a computer that is a drone specifically for an outside LED sign. This computer is designed to never shut off and doesn't have any other program on it besides Operating System and the sign software. I need to create a batch file that I can place in the "start-up" folder that will open the...
General Discussion
How to create a batch file that will move files based on the file type
How to create a batch file that will move files based on the file type? My Requirement : I need a batch file to copy all .doc files in all my HardDisk to a removable disk say (Z: drive) . Can anyone make it possible using a batch file?Please...Its urgent...
General Discussion


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 18:50.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App