With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.
::@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.
|COPY from excel to notepad||3||85|
|Copy dir and files with robocopy||2||83|
|SharePoint 2013 URL Duplication Issue||5||67|
|Virtual Servers, Host Server - Windows OS, which would be best?||21||86|
Join the community of 500,000 technology professionals and ask your questions.