Search found 336 matches
- 2021-Aug-14, 7:48 pm
- Forum: Windows CMD Shell
- Topic: [undocumented]MSG special characters and escaping them
- Replies: 0
- Views: 9668
[undocumented]MSG special characters and escaping them
11 Dec 2015 14:51 npocmaka Some tests I've made over MSG command (aware that you need installed terminal services to make this command available) showed that there are some special characters that cannot be set at the beginning of the message ( / and - ): msg "%username%" "--#" m...
- 2021-Aug-14, 7:43 pm
- Forum: Windows CMD Shell
- Topic: CHCP transcoding to ANSI - controlling output encoding
- Replies: 0
- Views: 11768
CHCP transcoding to ANSI - controlling output encoding
16 Apr 2016 17:21 psyl0w Here is what i wanna do: Redirect properly the outputs of console application (I use the misuse term command in the rest of the message) into a file with 1252 encoding (to make it readable from any notepad soft in default configuration. What I’ve observed* Chcp is effective ...
- 2021-Aug-08, 11:34 pm
- Forum: Windows CMD Shell
- Topic: Progress Indicator For Robocopy File
- Replies: 2
- Views: 6595
Re: Progress Indicator For Robocopy File
12 Apr 2018 14:39 bluesxman Thanks Shadow Thief. This is quite the blast from the past. Looking at the script, I think the backspace belongs here: call set "bar.del=%%bar.back:%bar.backchar%=%%" So, to (hopefully) fix this, add Shadow Thief's code above at the start of the script (shortly ...
- 2021-Aug-08, 11:21 pm
- Forum: Windows CMD Shell
- Topic: Progress Indicator For Robocopy File
- Replies: 2
- Views: 6595
Re: Progress Indicator For Robocopy File
Chimaera22 Jan 2010 19:40 Not quite sure whats happening now, i see this straight away and the title of the parent window reads Administrator : 0 / -1 no matter what the child window is doing START [■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■] END Press any key to ...
- 2021-Aug-06, 10:25 am
- Forum: Windows CMD Shell
- Topic: Modulus Returning Incorrect Value
- Replies: 0
- Views: 8883
Modulus Returning Incorrect Value
12 Aug 2012 18:11 AYColumbia Hi, I need to find the numeric value for FPS from this format, e.g., 24000/1001 which is equivalent to 23.976. Here's a simple example script that is returning the incorrect mod of 977 rather than 976. @echo off setlocal EnableDelayedExpansion set a=24000 set b=1001 set ...
- 2021-Aug-05, 7:17 pm
- Forum: Windows CMD Shell
- Topic: Does anyone know how to replace a * symbol in a string?
- Replies: 0
- Views: 8964
Does anyone know how to replace a * symbol in a string?
11 Aug 2010 15:50 anandr I came into trouble with the Variable Edit/Replace syntax of the SET command (https://ss64.com/nt/syntax-replace.html). My batch script receives file mask as a parameter. While processing thoe files I need to save a log to file, whose name contains the mask. But "*"...
- 2021-Aug-04, 4:44 pm
- Forum: Windows CMD Shell
- Topic: change cursor position
- Replies: 0
- Views: 9381
change cursor position
23 Aug 2015 02:48 Batcher I need a batch script that adds a space before the set /p command allowing the user to type but I need the user to type in the middle of the cmd window how would I do this I have tryed echo " " && set /p = But this puts the input on the next line and I don...
- 2021-Aug-04, 4:26 pm
- Forum: Windows CMD Shell
- Topic: SubRoutine for WMIC that removes headers and blank spaces.
- Replies: 0
- Views: 9787
SubRoutine for WMIC that removes headers and blank spaces.
23 Jul 2009 22:05 Braven36 Does anyone have a subroutine that will remove the header and blank line of a wmic output? My subroutine in this script only work with certain queries. I would like one that will work with all wmic queries. if exist C:\scripts\citrix_install.txt del C:\scripts\citrix_insta...
- 2021-Aug-02, 11:39 pm
- Forum: Windows CMD Shell
- Topic: Batch script that removes spaces from text file and replaces with ;
- Replies: 0
- Views: 10262
Batch script that removes spaces from text file and replaces with ;
26 Mar 2014 08:28 platon39 Hi all, i need a script that removes spaces from a text file, that contains date like below,and replaces with ; file is : 39999 1 995 WS PS 28-04-2014 01-05-2014 1 1 1 0 1 0 0 1 1 0 0 1 0 1 1 1 1 39999 1 995 WS ZS 28-04-2014 01-05-2014 1 1 1 0 1 0 0 1 1 0 0 1 0 1 1 1 1 the...
- 2021-Aug-02, 7:52 am
- Forum: Linux & macOS Bash
- Topic: Run UNIX shell in browser
- Replies: 0
- Views: 17846
Run UNIX shell in browser
19 Mar 2021 08:40 Manna5 Hello, I want to show you a UNIX shell emulator written in JavaScript that I found yesterday. It is not just a simulator, it has nearly all commands, virtual filesystem, processes, users... Here is a link: https://masswerk.at/jsuix/ Works in IE 4 and newer browsers. original...