Tried to run batch file and get no results


  1. Posts : 49
    Microsoft Windows 7 Professional 64-bit 7601 Multiprocessor Free Service Pack 1
       #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
    Last edited by Brink; 30 Oct 2010 at 02:09. Reason: moved
      My Computer


  2. Posts : 4,364
    Windows 11 21H2 Current build
       #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 Computer


  3. Posts : 49
    Microsoft Windows 7 Professional 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #3

    johngalt said:
    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 Computer


  4. Posts : 49
    Microsoft Windows 7 Professional 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #4

    cma6 said:
    johngalt said:
    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 Computer


  5. Posts : 1,483
    Windows 7 Ultimate x64 SP1
       #5

    cma6 said:
    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 00:54.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 16:54.
Find Us