Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now
::@echo off :DATAAVAILABILITYCHECK setlocal enabledelayedexpansion IF EXIST D:\DATA\ SET DataFile=D:\DATA\ IF EXIST E:\DATA\ SET DataFile=E:\DATA\ IF EXIST F:\DATA\ SET DataFile=F:\DATA\ IF EXIST G:\DATA\ SET DataFile=G:\DATA\ IF EXIST H:\DATA\ SET DataFile=H:\DATA\ setlocal enabledelayedexpansion for /f %%a in ("%DataFile%") do ( set FolderName=%%~nxa if /i "!FolderName:~-5!"=="-0.7z" ( set ProcessFolder=%%~a goto :DATASETSTART ) ) CLS ECHO NO DATA SETS DETECTED... PAUSE CLS GOTO :DATAAVAILABILITYCHECK :DATASETSTART ECHO FILE DETECTED AS %ProcessFolder%... ::SCRIPT WILL BE IN HERE AND PERFORM ACTIONS WITH %ProcessFolder% ::ONCE ACTIONS IS FINISHED THE SUFFIX WILL BE CHANGED FROM "-0" to "-1" ::WHEN THE SCRIPT IS FINISHED IT WILL GOTO :DATAAVAILABILITYCHECK
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.