Search found 13 matches
- 27 Jul 2015 01:35
- Forum: DOS Batch Forum
- Topic: Deleting a line in a .txt file
- Replies: 7
- Views: 18768
Re: Deleting a line in a .txt file
Actually, there is no direct method in pure Batch to directly delete a line in a file. However, Batch provides an alternative that could be done. [snip] Meerkat Thank you soooo much @Meerkat!! I didn't think of using it that way and now it seems so simple, I feel so stupid now!! XD thanks so much f...
- 26 Jul 2015 21:41
- Forum: DOS Batch Forum
- Topic: Deleting a line in a .txt file
- Replies: 7
- Views: 18768
Re: Deleting a line in a .txt file
Actually, if you do what Meerkat suggested, it will work perfectly for what you want. i dont understand it :/ could u explain a little bit in more detail please? Sorry if I'm asking too much, but im just not quite understanding...the thing that he showed only listed the text file without specific s...
- 26 Jul 2015 18:23
- Forum: DOS Batch Forum
- Topic: Deleting a line in a .txt file
- Replies: 7
- Views: 18768
Re: Deleting a line in a .txt file
Hope this helps! Sample.txt 1 2 2 4 3 7 4 9 00 5 9 6 79 9 8 9 111 9 099 1 Now, put this BAT file on the same directory w/ Sample.txt @echo off findstr /v /c:"4 9 00" /c:"1 2" Sample.txt ::/C is really strict in spaces. ::Also there is echo. below because findstr doesnt have CRLF...
- 25 Jul 2015 19:53
- Forum: DOS Batch Forum
- Topic: Deleting a line in a .txt file
- Replies: 7
- Views: 18768
Deleting a line in a .txt file
OK, so I'm working on an RPG batch file game, and you can create accounts to save your game progress and stats and such. On the menu there's a part where you can view all user accounts created, this is possible because every time someone creates an account the username is wrote to an accounts.txt fi...
- 07 May 2015 19:34
- Forum: DOS Batch Forum
- Topic: Interactive DOS menu with vbs, or java script?
- Replies: 3
- Views: 4633
Interactive DOS menu with vbs, or java script?
I was wondering if someone could make a vbs script or a java script that I can start through dos for a interactive menu for an rpg game i'm making with dos. I have used cmdmenusel but its very limited. Here's a list of features I would like included if someone could be awesome to make this for me. -...
- 20 Feb 2015 22:16
- Forum: DOS Batch Forum
- Topic: Scrolling text, ping keeps showing
- Replies: 4
- Views: 4859
Re: Scrolling text, ping keeps showing
wooow...I feel soo fricken dumb now! XD I completely forgot about >nul, or for statements XD its been too long, my goodness..
Thanks guys, you helped allot.
Thanks guys, you helped allot.
- 20 Feb 2015 17:00
- Forum: DOS Batch Forum
- Topic: Scrolling text, ping keeps showing
- Replies: 4
- Views: 4859
Scrolling text, ping keeps showing
OK, so i'm coding a simple rpg kinda game. At the beginning I have the games name in large letters displayed on the screen with the type command, and then I have it clear the screen and retype the letters/image but every time its down 1 more(For a text scrolling effect). But my problem is i'm using ...
- 26 Jan 2015 20:49
- Forum: DOS Batch Forum
- Topic: Why do I get "The system cannot find the path specified." ?
- Replies: 4
- Views: 4419
Why do I get "The system cannot find the path specified." ?
I am a noob an beginner at DOS coding so please don't complain or make fun of my bad a sloppy/messy code :/ but could anyone tell me why im getting this? My file download is below from filedropper.com. But baisicly i want the program to be looking into different folders throughout the program..but s...
- 04 Jan 2015 14:54
- Forum: DOS Batch Forum
- Topic: Need help debugging a code chunk
- Replies: 13
- Views: 8929
Re: Need help debugging a code chunk
We did tell you how to make it better and you totally ignored our suggestions with your 2nd code post. If you were in our position what would you say? How can you learn if you just ignore our suggestions. @Squashman , i did make the changes you guys suggested. I separated my commas and said what th...
- 04 Jan 2015 10:50
- Forum: DOS Batch Forum
- Topic: Need help debugging a code chunk
- Replies: 13
- Views: 8929
Re: Need help debugging a code chunk
Here's a quick untested re-write @If Not Exist "%UserProfile%\Documents\Ogre Slayer\" Exit/B @Echo Off & SetLocal EnableExtensions DisableDelayedExpansion Title Ogre Slayer Created By: DosTips Community Color 06 Cls Echo(&Echo(&Echo(&Echo(&Echo(&Echo(&Echo(&...
- 04 Jan 2015 01:40
- Forum: DOS Batch Forum
- Topic: Need help debugging a code chunk
- Replies: 13
- Views: 8929
Re: Need help debugging a code chunk
Definitely see some flawed logic in some of your code. You are checking if FILES exists in FILES. Is there really a file named FILES in the folder named FILES? :TxtTransfer cd "%userprofile%\desktop\Ogre Slayer\Files" if exist "Files" goto TxtTransfer1 if not exist "Files&q...
- 03 Jan 2015 13:50
- Forum: DOS Batch Forum
- Topic: Need help debugging a code chunk
- Replies: 13
- Views: 8929
Re: Need help debugging a code chunk
It's more useful to add how it fails and also the error messages. But on a very brief glance there needs to be a space between the two "" \Haxs4Life.txt""C:\Users\ Ok I seperated the quotes on both move commands and all it does is just close the batch file right when i get to th...
- 03 Jan 2015 00:04
- Forum: DOS Batch Forum
- Topic: Need help debugging a code chunk
- Replies: 13
- Views: 8929
Need help debugging a code chunk
Alright so I am making a batch RPG game and at the beginning I want it to say Created by: such and such, ya know? I made this with ASCII and Uni-coding so I couldn't just put it in echo, so I used the TYPE command and typed it into DOS from the .txt file, now I know this works because I've already t...