Search found 4 matches
- 13 Apr 2020 10:31
- Forum: DOS Batch Forum
- Topic: Batch for multiple program installs
- Replies: 1
- Views: 2956
Re: Batch for multiple program installs
Try this: @echo off IF EXIST "C:\Program Files\Microsoft Office 15\ClientX64\OfficeClickToRun.exe" GOTO sub_message echo Office not Installed echo Starting Office Installation... "D:\Clientfolder\ClientPrograms\Setup.exe" pause goto end :sub_message echo Office is Installed pause goto end pause :end
- 09 Apr 2020 11:48
- Forum: DOS Batch Forum
- Topic: Installation script for SCCM - SmartPSS 2.02.1
- Replies: 1
- Views: 11578
Re: Installation script for SCCM - SmartPSS 2.02.1
Try without the "start /wait" @echo off REM========================================== REM Install SmartPSS 2.02.1 REM========================================== REM . REM Script Details: REM -------------- REM This script will: REM + silently install SmartPSS 2.02.1 REM + Deletes desktop icon REM . R...
- 09 Apr 2020 11:36
- Forum: DOS Batch Forum
- Topic: Help | Hey can some one help me to eddit a .ini file automatic from cmd
- Replies: 4
- Views: 6709
Re: Help | Hey can some one help me to eddit a .ini file automatic from cmd
Maybe this might help
Code: Select all
@echo off
cd /d %~dp0
set /p ip= Please enter IP:
set /p port= Please enter Port:
(
echo computer IP=%ip%
echo Port = %port%
) >Test.ini
echo All Done File Saved in root of this batch file
pause
- 09 Apr 2020 11:09
- Forum: DOS Batch Forum
- Topic: Create folder structure, prompt for details.
- Replies: 1
- Views: 2639
Re: Create folder structure, prompt for details.
Maybe try this:
Code: Select all
@echo off
cd /d %~dp0
set /p first= First Name:
set /p last= Last Name:
set /p birth= Date of Birth ex:01-25-2020:
mkdir "%last% %first% %birth%"
explorer %~dp0