Home / Microsoft / Microsoft DOS / CTRL + C in dos
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: CTRL + C in dos  (Read 878 times)
Upham
Guest
« on: August 31, 2007, 02:01:04 AM »

can i use the ctrl+c commands in dos.
so i move some folders to the clipboard?
IP logged
contrex
Guest
« Reply #1 on: August 31, 2007, 03:56:20 AM »

No. That only works in Windows Explorer. In MS-DOS and NT/Win 2K/XP/Vista Command Prompt, ctrl + C is used to interrupt ("break") batch files and also certain programs that are written to respond to that keypress.

IP logged
ghostdog74
Mentor



Thanked: 26
Posts: 1,511


« Reply #2 on: August 31, 2007, 06:17:39 AM »

can i use the ctrl+c commands in dos.
so i move some folders to the clipboard?
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".
IP logged

Upham
Guest
« Reply #3 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.
IP logged
ghostdog74
Mentor



Thanked: 26
Posts: 1,511


« Reply #4 on: August 31, 2007, 07:22:41 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?
IP logged

Upham
Guest
« Reply #5 on: August 31, 2007, 07:39:07 AM »

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 project
IP logged
ghostdog74
Mentor



Thanked: 26
Posts: 1,511


« Reply #6 on: August 31, 2007, 08:15:21 AM »

sorry. you are not specific enough. can't help you here.
IP logged

Upham
Guest
« Reply #7 on: August 31, 2007, 08:32:36 AM »

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.
IP logged
Kirbya
Guest
« Reply #8 on: September 02, 2007, 04:52:39 PM »

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.
IP logged
Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / CTRL + C in dos « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.083 seconds with 20 queries.