Saved Bookmarks
| 1. |
Solve : CTRL + C in dos? |
|
Answer» can i use the ctrl+c commands in dos. can i use the ctrl+c commands in dos.and what do you want to do with it after its in the clipboard? if your purpose is to copy to "clipboard" and "paste" it somewhere, then the copy (or move) command is for you. if you just want to "manipulate" the file names in "clipboard" , then do it in batch...(or others)...otherwise, define what you will be doing once you have got them into the "clipboard".i need to copy sertain folders but the destination where they go is most of the time different, so i was thinking i could make a batch that would copy them and then i only need to paste them in the right folder.Quote from: Upham on August 31, 2007, 07:13:39 AM i need to copy sertain folders but the destination where they go is most of the time different, so i was thinking i could make a batch that would copy them and then i only need to paste them in the right folder.explain what causes the destination folders to be different every time and how? there are like 10 destinations, sometimes they need to go to destination 4 and an other time to destination 9 etc... just depends on the projectsorry. you are not specific enough. can't help you here.like im SAYING there are for example 10 different destinations, and where i need to paste just depends on what i am working on at that moment.Well you could always have the program running and have an entry type batch file such as: Code: [Select]@echo off :main set variable= set /p variable=Which location would you like to paste to: if %variable%==1 goto one if %variable%==2 goto two if %variable%==3 goto three if not %variable%==1 goto main if not %variable%==2 goto main if not %variable%==3 goto main :one copy "C:\File\To\Copy" "C:\Place\To\Be\Copied" :two copy "C:\File\To\Copy" "C:\Place\To\Be\Copied" :three copy "C:\File\To\Copy" "C:\Place\To\Be\Copied" I'm not sure if thats what your looking for or not though. |
|