Jump to content

Batch Script meeda help kavali


Recommended Posts

Posted
2 hours ago, jefferson1 said:

Another doubt vayya

below code oka batch file  lo undi, batch file will start at 11:45 pm

if not exist E:\temp\Prod_arch\%AWSDT% mkdir E:\temp\Prod_arch\%AWSDT%
if not exist E:\temp\Prod_arch\%AWSDT% mkdir E:\temp\Prod_arch\%AWSDT%\XYZ
if not exist E:\temo\Prod_arch\%AWSDT%\%APPNAME% mkdir E:\temp\Prod_arch\%AWSDT%\XYZ\%APPNAME%

 

batch file 11:45 pm ki run ainnapudu... above lines work avvatam le

 

same batch file 11:45 am ki run avuthundi... and its working... enti reason

 

 

AWSDT is holding only date. So morning run ainpadu Ivala date tho file create avtundi. Evening ki file already existing, so not creating 😬

Posted
8 minutes ago, meri_zindagi said:

AWSDT is holding only date. So morning run ainpadu Ivala date tho file create avtundi. Evening ki file already existing, so not creating 😬

ConventionalCandidImpala-size_restricted

Posted
1 hour ago, meri_zindagi said:

AWSDT is holding only date. So morning run ainpadu Ivala date tho file create avtundi. Evening ki file already existing, so not creating 😬

last night (11;45 pm) ki run ainappudu e folder ledu (%AWSDT%) i mean folder with yesterday's date

so script should create folder.... enduku create cheyatam ledu

Posted
1 hour ago, jefferson1 said:

last night (11;45 pm) ki run ainappudu e folder ledu (%AWSDT%) i mean folder with yesterday's date

so script should create folder.... enduku create cheyatam ledu

Debug mode lo run chesi chudu... ila aithe telidu inka Naku

  • 4 weeks later...
Posted

xcopy /s /c \\%SERVERNAME%\e$\GVP\rollingLogs\*.log E:\aboot\Prod_archives\%AWSDT%\IVR\%APPNAME%\ /y 

 

paina line meeda problem undi, can anyone know what the issue is?

 

problem: paina command is creating file in older date not current date

 

ante job tonight run avuthundi @11:45 pm ki... zip files ni teesukelli adi feb 23 lo peduthundi instead of feb24

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...