Any ideas about how to insert a script into the Tray and make it stay there as an always accessible icon?
Search found 156 matches
- 20 Jan 2024 03:51
- Forum: DOS Batch Forum
- Topic: Putting BAT on Taskbar or inserting it to Tray
- Replies: 4
- Views: 22684
- 29 Dec 2023 11:01
- Forum: DOS Batch Forum
- Topic: Deleting from a Recycle Bin folder all items except certain file formats
- Replies: 13
- Views: 35290
Re: Deleting from a Recycle Bin folder all items except certain file formats
Wow indeed, as apparently you have never ever accidentally deleted something and also never run out of disk space - thus never had to empty the Recycle Bin and never realized after some time that a re-worked item is missing. Wow
Or you just do not understand what last resort means
Or you just do not understand what last resort means
- 28 Dec 2023 07:16
- Forum: DOS Batch Forum
- Topic: Deleting from a Recycle Bin folder all items except certain file formats
- Replies: 13
- Views: 35290
Re: Deleting from a Recycle Bin folder all items except certain file formats
So does anyone know how to do this?
And also how make this latest version of ny script to apply itself also to the last volume present in the system, as apparently it ignores my volume W [which is my last]
I tried writing a corresponding PS1 script but failed miserably at it
And also how make this latest version of ny script to apply itself also to the last volume present in the system, as apparently it ignores my volume W [which is my last]
I tried writing a corresponding PS1 script but failed miserably at it
- 28 Dec 2023 03:24
- Forum: DOS Batch Forum
- Topic: Move flashing prompt sign away from left edge of PowerShell window
- Replies: 10
- Views: 40548
- 09 Dec 2023 10:24
- Forum: DOS Batch Forum
- Topic: Timeout with GUI adjustments breaks its design after first second passes
- Replies: 16
- Views: 86773
Re: Timeout with GUI adjustments breaks its design after first second passes
Why you didn't tested my solution as I wrote it (more than one month ago)? As I have just now tested this once more: that code @echo off cls echo/ echo Info about what the script will do echo/ setlocal EnableDelayedExpansion rem Get an ASCII CR (13) character for /F %%a in ('copy /Z "%~F0" NUL') do...
- 09 Dec 2023 09:27
- Forum: DOS Batch Forum
- Topic: The timeout command blocks the W key from closing CMD window
- Replies: 3
- Views: 26222
Re: The timeout command blocks the W key from closing CMD window
How could this be happening It's obviously a bug in the code [...] Feel free to reach out to Microsoft [...] I am unable to do so because when trying to create Microsoft Account nothing happens after I enter the verification code from an e-mail I receive [i.e. there is no next step to be chosen / d...
- 18 Nov 2023 11:45
- Forum: DOS Batch Forum
- Topic: Move flashing prompt sign away from left edge of PowerShell window
- Replies: 10
- Views: 40548
Re: Move flashing prompt sign away from left edge of PowerShell window
If you mean replacing line
with either
then this does not work
Code: Select all
$Prompt = " " * 2 + " "
Code: Select all
$Prompt = "$S$S$P$G"
$Prompt = $S$S$P$G
$Prompt $S$S$P$G
- 18 Nov 2023 11:27
- Forum: DOS Batch Forum
- Topic: How to interrupt script by closing the CMD window with any key?
- Replies: 7
- Views: 39042
Re: How to interrupt script by closing the CMD window with any key?
- 18 Nov 2023 11:26
- Forum: DOS Batch Forum
- Topic: The timeout command blocks the W key from closing CMD window
- Replies: 3
- Views: 26222
The timeout command blocks the W key from closing CMD window
As pointed out in this discussion https://www.dostips.com/forum/viewtopic.php?f=3&t=10897&p=69149#p69008 apparently the timeout command makes it impossible to press any key to close CMD window, because the W is exempted from that rule. Here is basic example @echo off echo Pressing of any key will cl...
- 18 Nov 2023 11:12
- Forum: DOS Batch Forum
- Topic: Timeout with GUI adjustments breaks its design after first second passes
- Replies: 16
- Views: 86773
Re: Timeout with GUI adjustments breaks its design after first second passes
I have managed to produce Info about what the script will do Executing in: 3 2 1 The script has been executed [Press any key to close this CMD window] with this version @echo off cls echo/ echo Info about what the script will do echo/ setlocal EnableDelayedExpansion set "countdown=3" echo Executing ...
- 22 Oct 2023 09:14
- Forum: DOS Batch Forum
- Topic: Batch File To Create Folder With Current Date
- Replies: 14
- Views: 61638
Re: Batch File To Create Folder With Current Date
You might want also to take a look at this topic: viewtopic.php?f=3&t=10491
- 22 Oct 2023 09:10
- Forum: DOS Batch Forum
- Topic: Is it worth learning Powershell?
- Replies: 10
- Views: 56723
- 22 Oct 2023 09:07
- Forum: DOS Batch Forum
- Topic: .lnk shortcut - create programatically
- Replies: 5
- Views: 26484
Re: .lnk shortcut - create programatically
[...] FWIW: MS is telling us that they are about to get rid of VBScript while I've not seen anything about similar intentions for JScript yet. At least I'm not aware of. What do they gain? And why would they make it impossible to run VBS scripts, when BAT scripting has not been ditched long time af...
- 22 Oct 2023 09:02
- Forum: DOS Batch Forum
- Topic: Move flashing prompt sign away from left edge of PowerShell window
- Replies: 10
- Views: 40548
Re: Move flashing prompt sign away from left edge of PowerShell window
Does anyone have any ideas about how to do this?
- 22 Oct 2023 08:57
- Forum: DOS Batch Forum
- Topic: Timeout with GUI adjustments breaks its design after first second passes
- Replies: 16
- Views: 86773
Re: Timeout with GUI adjustments breaks its design after first second passes
My fingers slipped and I performed a double pastng of what I had in the clipboard at that time This is the code I have @echo off cls echo/ echo Info about what the script will do echo/ setlocal EnableDelayedExpansion rem Get an ASCII CR (13) character for /F %%a in ('copy /Z "%~F0" NUL') do set "CR=...