display command batch

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
xiro
Posts: 34
Joined: 21 May 2014 00:17

display command batch

#1 Post by xiro » 21 May 2014 00:49

Anyone please help me how to make a batch that display the code it would execute like copy \folder\folder\previous date....... in cmd :P

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: display command batch

#2 Post by foxidrive » 21 May 2014 01:01

Please clarify what you need to do.

julesverne
Posts: 81
Joined: 19 Nov 2013 00:41

Re: display command batch

#3 Post by julesverne » 21 May 2014 02:28

xiro wrote:Anyone please help me how to make a batch that display the code it would execute like copy \folder\folder\previous date....... in cmd :P


@echo on

?

ShadowThief
Expert
Posts: 1167
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: display command batch

#4 Post by ShadowThief » 21 May 2014 04:18

julesverne wrote:
xiro wrote:Anyone please help me how to make a batch that display the code it would execute like copy \folder\folder\previous date....... in cmd :P


@echo on

?

or just leave off @echo off

xiro
Posts: 34
Joined: 21 May 2014 00:17

Re: display command batch

#5 Post by xiro » 28 May 2014 21:56

I'm typing copy /bpi/char/.... in cmd how to make a batch that would display the command then just press anykey to execute that command but the command to display is the command insde my batch....

Post Reply