Posted On April 3, 2019

Some Batch Files

kimconnect 0 comments
blog.KimConnect.com >> Codes , Windows >> Some Batch Files
REM Date.bat
set fscfg=m:\mfgsys\fs.cfg
m:\fs_apps\setcfg N0 DT_TODAY={TODAY}
REM lexp.bat
fsguiapp.exe -s -cm:\mfgsys\fs.cfg -iAAA{TAB}y2k99{CR}bexe{ESC}exp{CR}
exit
Rem Invoice_Prints_ZZ1_2_3_.bat
fsguiapp.exe -cm:\mfgsys\fs.cfg -iZZ1{TAB}pass1{CR}bexe{ESC}zz1{CR}
M:\cabsauto\timeout 15
fsguiapp.exe -cm:\mfgsys\fs.cfg -iZZ2{TAB}pass2{CR}bexe{ESC}zz2{CR}
M:\cabsauto\timeout 15
fsguiapp.exe -cm:\mfgsys\fs.cfg -iZZ3{TAB}pass3{CR}bexe{ESC}zz3{CR}
rem M:\cabsauto\timeout 15
rem fsguiapp.exe -s -cm:\mfgsys\fs.cfg -iZZ4{TAB}pass4{CR}bexe{ESC}zz4{CR}
REM No_Move.bat
fsguiapp.exe -cm:\mfgsys\fs.cfg -iAAA{TAB}y2k99{CR}bexe{ESC}EB6{CR}
REM purge.bat
M:\MFGSYS\SYSTEM\FSReportConfigurator.exe -cM:\MFGSYS\FS.CFG -SSI-APPS -DFSDBMR -UAdministrator -PPASSWORD
REM RemoveBU.bat
del e:\sql_backup\*.bak
REM SQLMove.bat
copy E:\SQL_Backup\*.bak Y:\backup
exit
REM Daily_Forth_Shift.bat
REM Daily Batch for Fourth Shift
REM
REM E:\FShift\cabsauto\timeout 18000
rem E:\FShift\cabsauto\timeout 18000
Rem Turning off Visibar
Rem
copy m:\mfgsys\vbdown.bak m:\mfgsys\vbdown.now
E:\FShift\cabsauto\timeout 9
REM
Rem Stoping the Lockserver
net stop FINmr (Fourth Shift SQL Service)
net stop MAINmr (Fourth Shift SQL Service)
net start FINmr (Fourth Shift SQL Service)
net start MAINmr (Fourth Shift SQL Service)
fsguiapp.exe -s -cm:\mfgsys\fs.cfg -iAAA{TAB}y2k99{CR}bexe{ESC}MLY{CR}
exit
REM Daily.bat
fsguiapp.exe -cm:\mfgsys\fs.cfg -iAAA{TAB}y2k99{CR}bexe{ESC}WKY{CR}
REM logon_script.bat
REM Location: DOMAIN.LOCAL.C.WINNT.SYSVOL.sysvol.domain.local.scripts

net time \\FILESERVER01 /set /y
net use h: /home
net use g: \\FILESERVER01\MARKETING
net use m: \\FILESERVER01\fshift
net use s: \\FILESERVER01\public
net use w: \\FILESERVER01\misc_apps
net use P: \\FILESERVER01\executiveshare$
@echo off

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

On Premise Exchange to Office 365 Migration Using Method: Asynchronous PST Export & Import

Assumptions: 1. Hybrid Exchange Migration and Stage Migration methods have been considered and rejected2. Active…

Basic CSS: Override Class Declarations by Styling ID Attributes

<style>body {background-color: black;font-family: monospace;color: green;}.pink-text {color: pink;}.blue-text {color: blue;}</style><h1 class="pink-text blue-text">Hello World!</h1>

Discover FSMO roles

Option ExplicitDim WSHNetwork, objArgs, ADOconnObj, bstrADOQueryString, RootDom, RSObjDim FSMOobj,CompNTDS, Computer, Path, HelpTextSet WSHNetwork = CreateObject("WScript.Network")Set…
Other project: DragonCoin.com