Category : batch-file

I’m a begginer/student trying to manually setup a kiosk mode windows for educational purposes. I have set the group policy "run only specified windows applications" alongside a logon batch script powershell.exe -windowstyle hidden -file C:KeepEdgeRunning.ps1 It’s to start a PowerShell script that keeps MS Edge maximized. function Set-WindowStyle { #copied this from the internet param( ..

Read more

I had this step in a macOS lane: jobs: macOS_build: runs-on: macOS-latest steps: – uses: actions/[email protected] – name: Build in DEBUG and RELEASE mode run: ./configure.sh && make DEBUG && make RELEASE Then I successfully split it up this way: jobs: macOS_build: runs-on: macOS-latest steps: – name: Build in DEBUG and RELEASE mode run: | ..

Read more

I had this step in a macOS lane: jobs: macOS_build: runs-on: macOS-latest steps: – uses: actions/[email protected] – name: Build in DEBUG and RELEASE mode run: ./configure.sh && make DEBUG && make RELEASE Then I successfully split it up this way: jobs: macOS_build: runs-on: macOS-latest steps: – name: Build in DEBUG and RELEASE mode run: | ..

Read more

I want to make my Windows batch file to read and copy the values of an XML file between the tags of hello_from other side to stop. @echo off setlocal EnableDelayedExpansion (for /F "delims=" %%a in (‘findstr /I /L "<hello_from other side> <stop>" C:sikeDesktoptestng-results.xml’) do ( set "line=%%a" set "line=!line:*<hello_from other sid>=!" set "line=!line:*<stop>=!" for ..

Read more

I have crawled the whole net and havent been able to find the answer. I am trying to encrypt encrypt the c drive via VeraCrypt using a batch script. ´´´ C:Program FilesveracryptVeraCrypt Format.exe’ /create normal /size 50G /password Somepassword12** /hash sha512 /encryption AES /quick /dynamic /force’´´´ The above command just creates a locked volume named ..

Read more

I am trying to encrypt the C: drive via VeraCrypt using a batch script. I have crawled the whole net and haven’t been able to find the answer. ‘C:Program FilesveracryptVeraCrypt Format.exe’ /create normal /size 50G /password Somepassword12** /hash sha512 /encryption AES /quick /dynamic /force The above command just creates a locked volume named normal. I ..

Read more