vbscript - Call another VBS routine from the script that is running -


i have script opens file, performs file > save routine , closes file.

i run save routine, part way through call separate vbs script change locale / region setting on pc (this script in vbs file), script continue , save routine, , call script reset locale /region.

i paste code 1 big script, in interest of keeping clean, preference call when needed.

i'm not sure understand question, anyway... either want change timezone:

set sh = createobject("wscript.shell") sh.run "tzutil.exe /s ""hawaiian standard time""", 1, true sh.run "w32tm.exe /resync", 1, true 

or change region/location : change system region/location setting using vbs


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -