Batch file executes but does nothing.

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Posts: 1
Joined: 28 Jan 2021 23:30

Batch file executes but does nothing.

#1 Post by » 28 Jan 2021 23:38

Hi Team members,

I need small help. I am executing a batch file which shows it is executing but does not do anything and neither it shows any error:

Here is the content of my batch file:

java -Dfile.encoding=UTF-8 -Djava.util.logging.config.file="C:/Program Files/Grid-Tools/FastDataMasker/" -Xms100M -Xmx1000M -XX:+HeapDumpOnOutOfMemoryError -Djava.library.path="%PATH%;C:/Program Files/Grid-Tools/FastDataMasker/SQLSERVER_DLLs/x64" -cp ".;C:/Program Files/Grid-Tools/FastDataMasker/Fastdatamasker_simulate.jar;C:/Program Files/Grid-Tools/FastDataMasker/lib/*;C:/Program Files/Grid-Tools/FastDataMasker/custom/*;" com.grid_tools.products.datamasker.Datamasker "C:/Users/btl/.oracle_jre_usage/connect_LICENSE TEST.txt" "C:\Users\btl\Desktop\Jaspal\License\jenkins\SUMMARY_JENKINS.csv" "C:\Users\Desktop\License\jenkins\SUMMARY_JENKINS_options.txt"

I am not sure if it has to something about updating the environment variables as we changed some of those as part of troubleshooting for some other issue.

any help will be appreciated.

Posts: 516
Joined: 21 Mar 2014 08:50

Re: Batch file executes but does nothing.

#2 Post by Compo » 29 Jan 2021 10:12

Just a quick query about the code you've posted, (irrespective of the fact you should have placed that in a code box).

Why are your last two paths using backslashes, and not forward slashes like the rest of your paths, or possibly escaped backslashes.

Post Reply