May 27, 200620 yr Hi all,i have 3 questions that i hope that i can know there answers.Q1: How i can type " %" in Dos screen ? i know that " Echo %"Will let it appear in the screen. But see this batch to know wat i'm meanTemp.cmd-----------------------------------------------------------------------------------Q2: How i can get messege if the copied files not found? i.e. i have files in folder1 and wanna to copy it to folder2 and messege is required if this files not found. i try Copy /Y folder1\ABC.XXX folder2 if errorlevel 1 goto _err:_errEcho File not foundbut it don't work--------------------------------------------------------------------------------------Q3: How i can preview Pic in dos? i.e. I have pic that i wanna to c it in my startup disk -->How this can done.-------------------------------------------------------------------------------------Any idea will be excellent.Reagrds,Xtreme
May 27, 200620 yr q1: i ran it and it shows up fine, if i misunderstood, show us what you would like it to sayq2: use something like thisif %errorlevel% == 0 GOTO :fine else GOTO :error:errorecho eets not okay monGOTO :EOF:fineecho eets okay monq3: you'll need a program that can show a pic & runs in the dos environment you're using. surely google can help you there Edited May 27, 200620 yr by Ophiel X
May 27, 200620 yr oops. he's right. i only tried it from the command line. Edited May 27, 200620 yr by Ophiel X
May 27, 200620 yr oops. he's right. i only tried it from the command line.Q1: You can also use ^%the ^ omits the next character from being considered as a variable in a dos command.Q2: What he said ^^Q3: What he said again. You'd need a program that will decode the jpg or bmp you are trying to view that runs in MS DOS.
Create an account or sign in to comment