Thanks for replying.
It is accepted with the ENTER key.
and no, unfortunately it didn't work...
Thank you in advance for any other suggestion.
Search found 43 matches
- 11 Nov 2024 12:47
- Forum: DOS Batch Forum
- Topic: Question about unattended or silent uninstallation
- Replies: 5
- Views: 2971
- 11 Nov 2024 10:35
- Forum: DOS Batch Forum
- Topic: Question about unattended or silent uninstallation
- Replies: 5
- Views: 2971
Re: Duda con desinstalación desatendida o silenciosa
Sorry, the browser translates automatically, so I thought I was in Spanish. :roll: Good morning friends I have a question regarding the uninstallation of a program from a Batch file The only way I can execute the uninstallation of the program is through this line that extrajects from the uninstallst...
- 11 Nov 2024 03:00
- Forum: DOS Batch Forum
- Topic: Question about unattended or silent uninstallation
- Replies: 5
- Views: 2971
Question about unattended or silent uninstallation
Buenas días amigos. Tengo una duda con respecto a la desinstalación de un programa desde un archivo Batch La única forma en que puedo ejecutar la desinstalación del programa es mediante esta linea que extraje del UninstallString del editor de registro. rundll32.exe dfshim.dll,ShArpMaintain Component...
- 15 Feb 2023 12:15
- Forum: DOS Batch Forum
- Topic: Automatically uninstall a program
- Replies: 2
- Views: 3013
Re: Automatically uninstall a program
Does anyone have any idea or suggestion about it?
- 13 Feb 2023 20:16
- Forum: DOS Batch Forum
- Topic: Automatically uninstall a program
- Replies: 2
- Views: 3013
Automatically uninstall a program
Good afternoon friends. I come to ask for your help to create a Batch that I automatically and silently uninstalled a program, this program is installed in both Windows 10 and Windows 7. The program (I leave it here in a RAR) extracts the serials from the equipment. I have not created it, but I have...
- 21 Feb 2022 07:41
- Forum: DOS Batch Forum
- Topic: Get Optical Drive Serial
- Replies: 1
- Views: 3672
Get Optical Drive Serial
Good friends. I'm having trouble getting the serial from the optical drive on my laptop. I have tried the following without success: wmic cdrom get serialnumber wmic cdrom D: get serialnumber wmic cdrom where drive='D:' get serialnumber wmic cdrom where mediatype!='unknown' get SerialNumber wmic /ou...
- 17 Feb 2022 09:46
- Forum: DOS Batch Forum
- Topic: Change desktop wallpaper
- Replies: 17
- Views: 18779
- 08 Feb 2022 18:02
- Forum: DOS Batch Forum
- Topic: Change desktop wallpaper
- Replies: 17
- Views: 18779
Re: Change desktop wallpaper
First of all, I apologize for the delay in responding, it has been impossible for me to do so until today. On the other hand, thanks for the answer. It is always nice to try new alternatives and learn new things. There is a detail, which I haven't been able to cover, and you have touched on it in yo...
- 08 Feb 2022 17:51
- Forum: DOS Batch Forum
- Topic: Find data in an external database with Batch
- Replies: 3
- Views: 6039
Find data in an external database with Batch
Good friends. I come to you, since I have been given a task at work that far exceeds the little knowledge I have about Batch. The point is that you need to verify if the serials of some hardware components (obtained by CMD) are the ones in the database. For example: I obtain through the Batch the se...
- 01 Feb 2022 16:59
- Forum: DOS Batch Forum
- Topic: Find text string in TXT hosted on Server.
- Replies: 11
- Views: 12571
Re: Find text string in TXT hosted on Server.
Thank you for your answers. Due to the activities we do, it is impossible to leave Windows XP (64bit) and Windows Seven. At work we use three operating systems, Windows XP (64bit), Windows Seven and Windows 10. So any code you make must be compatible with all three operating systems. Regarding my qu...
- 31 Jan 2022 12:48
- Forum: DOS Batch Forum
- Topic: Find text string in TXT hosted on Server.
- Replies: 11
- Views: 12571
Re: Find text string in TXT hosted on Server.
And Curl can be used on Windows Xp and Seven ?
- 31 Jan 2022 09:22
- Forum: DOS Batch Forum
- Topic: Find text string in TXT hosted on Server.
- Replies: 11
- Views: 12571
Re: Find text string in TXT hosted on Server.
Thanks for answering.
And how do you copy a file located on a server?
Thanks in advance for the help.
And how do you copy a file located on a server?
Thanks in advance for the help.
- 30 Jan 2022 13:18
- Forum: DOS Batch Forum
- Topic: Find text string in TXT hosted on Server.
- Replies: 11
- Views: 12571
Re: Find text string in TXT hosted on Server.
I was looking for information about it, and on this page https://docs.microsoft.com/es-es/dotnet/standard/io/file-path-formats I found the following: @"\\127.0.0.1\c$\temp\test-file.txt" I guess it would be something like this: @Echo Off ::test value set serial=1S2887PS099XGA21 Find "%serial%" @"\\1...
- 30 Jan 2022 11:06
- Forum: DOS Batch Forum
- Topic: Find text string in TXT hosted on Server.
- Replies: 11
- Views: 12571
Re: Find text string in TXT hosted on Server.
The problem is that I don't know how to do it
This is how I do it in the same directory.
@Echo Off
::test value
set serial=1S2887PS099XGA21
Find "%serial%" Seriales.txt >NUL
If %ERRORLEVEL% EQU 1 (
Echo serial does not exist : %serial%
) Else (
Echo Serial existe: %serial%
)
pause
This is how I do it in the same directory.
@Echo Off
::test value
set serial=1S2887PS099XGA21
Find "%serial%" Seriales.txt >NUL
If %ERRORLEVEL% EQU 1 (
Echo serial does not exist : %serial%
) Else (
Echo Serial existe: %serial%
)
pause
- 30 Jan 2022 07:19
- Forum: DOS Batch Forum
- Topic: Find text string in TXT hosted on Server.
- Replies: 11
- Views: 12571
Find text string in TXT hosted on Server.
Friends, I need to search for a text string (Laptop Serial. Example 1SWA12F45G68B2) in a TXT file (Serials.txt), but this TXT file is hosted on an IP address of a server. This Batch would run under the following Operating Systems: Windows XP, Seven and 10 Is there a way to do it from a Batch? Thanks...