also @ TechSpot: Apple's iOS 7 to be "black, white and flat all over"

Let batch file copy files into folder in REG-SZ var

Discussion in 'Windows OS' started by SaturnV, Apr 25, 2009.

  1. SaturnV Newcomer, in training

    Hello,
    I'm trying to make a batch file which has to copy a file to a folder which can be found in the registry.
    I currently have this:
    ----------------------------------------------------------------------------------------------------
    reg query "HKEY_LOCAL_MACHINE\SOFTWARE\blablabla\blabla" /v InstallPath
    pause
    -----------------------------------------------------------------------------------------------------
    When I run the batch file, it shows me the correct folder which the batch file finds in the registry, although I don't know how to let the batch file copy a specific file into that folder. I can do this:
    copy blabla/hkjlkj/jlk.txt hjhk/hlkjkl
    and then it works completely, but how can I set the destination directory of that file to the folder it found in my registry. (the output of the above mentioned file)

    Already thanks in advance!