ZTree.com  | ZEN  | About...  

 Index   Back

dubugging CMD scripts   [OT]

By: Slobodan Vujnovic   Homepage   France  
Date: Jan 16,2023 at 21:12
In Response to: dubugging CMD scripts (Ben Kent)

> A ZEP if anyone is like minded
> For the F9 Application menu
> Have some new directives to
> output the script as .PS1
> execute under powershell.exe or pwsh.exe
> encode the file as ANSI or UTF-8
> I have some directives/options that could be considered
> OutputFileEncodoing ANSI,UTF-8,UNICODE
> ExecuteWith cmd,powershell,pwsh,zlist,zmacro

As/if sysadmins adopt PS more and more, not supporting it in ZTree
may be seen as being behind the times.

Personally, I never took to time to learn it, CMD can do incredible
things when pushed to the limits. AI can be now used to generate
both. I tried to ask ChatGPT to convert a BAT to PS, but the site
is on its knees... They offered to mail me when it restarts accepting
new sessions.


Messages in this Thread

96,640 Postings in 12,231 Threads, 350 registered users, 67 users online (0 registered, 67 guests)
Index | Admin contact |   Forum Time: Apr 12, 2024 - 1:51 pm UTC  |  Hits:62,817,400  (12,931 Today )
RSS Feed