Search found 3 matches
- 18 Jun 2023 05:55
- Forum: DOS Batch Forum
- Topic: Script issue on "FINDSTR"
- Replies: 7
- Views: 6076
Re: Script issue on "FINDSTR"
i found this solution in a forum,think it's working @echo off REM Check the OS version wmic os get Caption | find "Microsoft Windows 10 Enterprise" >nul && set "install_folder=\\server\share\EnterpriseAppFolder" wmic os get Caption | find "Microsoft Windows 10 Professional" >nul && set "install_fold...
- 17 Jun 2023 18:12
- Forum: DOS Batch Forum
- Topic: Script issue on "FINDSTR"
- Replies: 7
- Views: 6076
Re: Script issue on "FINDSTR"
Thanks a lot for replies, I have to tell you that I'm using French version Et it display with caption option "Microsoft Windows 10 professionnel"
- 16 Jun 2023 14:37
- Forum: DOS Batch Forum
- Topic: Script issue on "FINDSTR"
- Replies: 7
- Views: 6076
Script issue on "FINDSTR"
Hi, I have a problem with the following script. @echo off REM Check the OS version wmic os get Caption | findstr /i "Microsoft Windows 10 Enterprise" > nul if %errorlevel% equ 0 ( set "install_folder=\\server\share\EnterpriseAppFolder" ) else ( wmic os get Caption | findstr /i "Microsoft Windows 10 ...