Beautifully done, thanks Batcher, works great
I should change the title of the request to English
Search found 20 matches
- 30 Sep 2023 16:31
- Forum: DOS Batch Forum
- Topic: Como sacar los números?
- Replies: 9
- Views: 11356
- 31 Aug 2023 18:50
- Forum: DOS Batch Forum
- Topic: Como sacar los números?
- Replies: 9
- Views: 11356
Re: Como sacar los números?
The same apologies to Batcher, as he also send a code just for a list.
- 31 Aug 2023 18:45
- Forum: DOS Batch Forum
- Topic: Como sacar los números?
- Replies: 9
- Views: 11356
Re: Como sacar los números?
You are right Aacini, and my apologies, but when I translated it I thought more about the question, and yes the text files are inside a folder, so the code needs a path to it, and then a command to get rid off the left digits up to the dash (-)
- 28 Aug 2023 08:33
- Forum: DOS Batch Forum
- Topic: Como sacar los números?
- Replies: 9
- Views: 11356
Re: Take Numbers off a list?
I guess didn´t explain my first question right, Aacini. Sorry!!!! I did the translation as you show me,thanks. I have a folder with hundreds of txt files, and they are number as I said before, I need a code where I can put the path to that folder, then take the numbers off. I really thanks you Aacini
- 28 Aug 2023 08:13
- Forum: DOS Batch Forum
- Topic: Como sacar los números?
- Replies: 9
- Views: 11356
Re: Como sacar los números?
Hello everyone, I was away for a while for health reasons. I am now looking for a CMD code to remove numbers from a text list that I have in a folder. The list have a bunch of txt files from 1 to 999, for example: 1-friends 20-recipes 99-family 300-addresses So, I need to take the number and the das...
- 27 Aug 2023 16:05
- Forum: DOS Batch Forum
- Topic: Como sacar los números?
- Replies: 9
- Views: 11356
Como sacar los números?
Hola a todos, estuve alejado un tiempo por salud. ahora buscando un codigo CMD para eliminar numeros de una lista de texto desde el 1 al 999, por ejemplo: 1-amigos, 99-familia, 300-direcciones. Que solo queden las palabras.
Gracias de antemano y un saludo a todos
Gracias de antemano y un saludo a todos
- 17 Oct 2021 07:15
- Forum: DOS Batch Forum
- Topic: user name
- Replies: 25
- Views: 19713
Re: user name
Hi there AR Coding, the program seems useless, but it help me a lot as I format a lot of computers and clients asked to save the data they have in diferent partitions. I could use the first code, but then I would have to change to the next partition and do the same, also can do the usual select all ...
- 16 Oct 2021 11:39
- Forum: DOS Batch Forum
- Topic: user name
- Replies: 25
- Views: 19713
Re: user name
I haven´t tried if the program will work on the other partitions with the commands already listed, or it will need another set of commands.
- 16 Oct 2021 11:36
- Forum: DOS Batch Forum
- Topic: user name
- Replies: 25
- Views: 19713
Re: user name
Code: @echo off color 0A CLS :MENU ECHO MACOGA VER 1.0 ECHO Desktop C: - 1 ECHO D: - 2 ECHO E: - 3 ECHO F: - 4 ECHO G: - 5 ECHO H: - 6 ECHO I: - 7 ECHO EXIT - 8 ECHO. set drive= set /p drive= HOW MANY GIGABYTES USE THE FOLDERS IN EACH PARTITION? ECHO. if "%drive%"=="1" (set "drive=%userprofile%\desk...
- 16 Oct 2021 11:34
- Forum: DOS Batch Forum
- Topic: user name
- Replies: 25
- Views: 19713
Re: user name
Code: @echo off color 0A CLS ECHO WHAT IS THE USER NAME? ECHO MACOGA VER.1.0 :MENU ECHO. ECHO ================================================================= ECHO this program tells me who is the user ECHO ================================================================= ECHO. ECHO Folder on desk ...
- 16 Oct 2021 11:33
- Forum: DOS Batch Forum
- Topic: user name
- Replies: 25
- Views: 19713
Re: user name
Hello steffen, I am back and after reading, trying, testing I got two things: 1.- a program that tells me who is the user - to be use on the desktop 2.- a program that you started, that tells me the amount of megas used by the folders on my desktop, I solved converting the bytes to megas and writtin...
- 11 Oct 2021 11:43
- Forum: DOS Batch Forum
- Topic: user name
- Replies: 25
- Views: 19713
Re: user name
thanks aGerman I will look at that index
- 11 Oct 2021 07:42
- Forum: DOS Batch Forum
- Topic: user name
- Replies: 25
- Views: 19713
Re: user name
Code: @echo off color 0A CLS :MENU ECHO. ECHO Desktop C: - 1 ECHO D: - 2 ECHO E: - 3 ECHO F: - 4 ECHO G: - 5 ECHO H: - 6 ECHO I: - 7 ECHO SALIR - 8 ECHO. set drive= set /p drive= HOW MANY GIGABYTES USE THE FOLDERS IN EACH PARTITION? ECHO. if "%drive%"=="1" (set "drive=%userprofile%\desktop") )else i...
- 11 Oct 2021 07:38
- Forum: DOS Batch Forum
- Topic: user name
- Replies: 25
- Views: 19713
Re: user name
Sorry Squashman, I did what you suggested, but to a begginer doesn´t do much sense, I know that I need a lot of maybe basic knowledge, still don´t know what means a lot of symbols like: (%%x), or (tokens=1,2 delims=:), but I believe that this is the porpuse of this board, and as I learn with your he...
- 10 Oct 2021 20:35
- Forum: DOS Batch Forum
- Topic: user name
- Replies: 25
- Views: 19713
Re: user name
Hello there to Steffen, AR Coding and Atfon: You know the line that you guys suggested if "%drive%"=="1" (set "drive=C:\Users\%userprofile%\desktop") Worked for my computer, And I am running windows10, but I got to check another computer with windows 7, and the program didn´t do a thing, investigati...