back soft

مطالب مرتبط با «batch file rename» در back soft | نویسنده: استخدام کار

Writing a batch file to uninstall "psiphon"

Vote count: 0 There is a program that I am currently trying to write a batch uninstaller for. In this case I would normally uninstall using WMIC, however the program is not listed under "wmic product get name | sort". I can tell that it is making registry entries, so I know if the program is on the machine and was considering an if statement to check for those entries. Any ideas on how to uninstall the program "psiphon" through batch or powershell? asked 37 secs agoTtech Let's block ads! بخوانید...

ادامه مطلب

Batch file - check if package exists - if not install it

Vote count: 0 I'm trying to do simple batch script (cmd) that will check if required packages are installed, if not it will install them and then will call my command. I've managed to check if node is installed using: node -v >nul 2>nul if %errorlevel%==9009 ( echo Install node.js and restart this script goto :EOF ) now I'm trying to check if specific npm package exists. I'm able to display error when package is not installed using: npm list bootprint --depth=0 >nul 2>nul || echo bootprint not found! but every line after after that isn't evaluated. Below is my full code: @echo off setlocal EnableDelayedExpansion ::check if node.js is installed node -v >nul 2>nul if %errorlevel%==9009 ( echo...

ادامه مطلب

برچسب‌های مرتبط

writing a batch file | writing a batch file to rename files | writing a batch file to install programs | writing a batch file to copy files | writing a batch file to run an exe | writing a batch file in windows | writing a batch file to delete files | writing a batch script to rename files | writing a batch file to restart services | writing a batch file to run a command