run scripts on Windows 7 and Windows server 2012 R2

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
goodywp
Posts: 265
Joined: 31 Jul 2017 09:57

run scripts on Windows 7 and Windows server 2012 R2

#1 Post by goodywp » 29 Jan 2018 15:19

Hi all,
I have done the scripts in Windows 7 and DOS version 6.1.7601 and tested them successfully.
Now I was asked to run it on the server, Server 2012 R2, DOS version 6.3.9600

Even I had login as administrator in both Windows 7 and Server 2012 R2, it runs pretty well and smooth in Windows 7, However, I got some permission pop up on the Server 2012 R2...

Is any reason or Sth. I can try to get rid of....?

BTW, general speaking, what is the main difference for scripts running in between Windows OS and Server OS???

Any thoughts or experience you had before....?
I shall publish more issues I am facing while try to implement the scripts on the Server side...

Thanks

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: run scripts on Windows 7 and Windows server 2012 R2

#2 Post by Squashman » 29 Jan 2018 15:26

Those numbers are the Windows Kernel versions. Not the version of DOS you are using. DOS died before the turn of the century.

CMD.exe works the same on Windows 7 and Windows 2012 Server.

Permission is permissions and has nothing to do with the batch file itself.

goodywp
Posts: 265
Joined: 31 Jul 2017 09:57

Re: run scripts on Windows 7 and Windows server 2012 R2

#3 Post by goodywp » 30 Jan 2018 09:32

Squashman wrote:
29 Jan 2018 15:26
Those numbers are the Windows Kernel versions. Not the version of DOS you are using. DOS died before the turn of the century.

CMD.exe works the same on Windows 7 and Windows 2012 Server.

Permission is permissions and has nothing to do with the batch file itself.
Thank you and I would like to know if someone had similar experience before. I shall figure it out for the permission issue...

elzooilogico
Posts: 128
Joined: 23 May 2016 15:39
Location: Spain

Re: run scripts on Windows 7 and Windows server 2012 R2

#4 Post by elzooilogico » 30 Jan 2018 10:50

this or this may help

goodywp
Posts: 265
Joined: 31 Jul 2017 09:57

Re: run scripts on Windows 7 and Windows server 2012 R2

#5 Post by goodywp » 31 Jan 2018 10:05

elzooilogico wrote:
30 Jan 2018 10:50
this or this may help
Very helpful... :D
Thanks elzooilogico !

Post Reply