Search found 137 matches

by batchcc
12 Nov 2015 15:56
Forum: DOS Batch Forum
Topic: Sdel - speedy deletion utility
Replies: 64
Views: 13989

Re: Sdel secure speedy deletion utility

Thank you pen pen so much :) I am sorry for any mistakes I made but I am not very good with other programming languages
I will tell you if it works but my pc isnt working right now thanks again.
by batchcc
11 Nov 2015 11:06
Forum: DOS Batch Forum
Topic: Sdel - speedy deletion utility
Replies: 64
Views: 13989

Re: Sdel secure speedy deletion utility

I tried to make a code that can run as a hybrid from cmd but it doesn't work its modeled off this self compiled hybrid as seen here viewtopic.php?p=35221#p35221 does anyone know how to fix this ? thanks @if (@X)==(@Y) @end /* JScript comment @echo off setlocal for /f "tokens=* delims=" %%v...
by batchcc
08 Nov 2015 13:41
Forum: DOS Batch Forum
Topic: Sdel - speedy deletion utility
Replies: 64
Views: 13989

Re: type nul and ren *.*

Thank you trebor I have one more question is it possible to turn this into a self compiled hybrid as seen here viewtopic.php?p=35221#p35221
So it can be run from the command line with a syntax like this

Code: Select all

Sedel /d or /f %filePath%\file.ext 
by batchcc
07 Nov 2015 14:55
Forum: DOS Batch Forum
Topic: Sdel - speedy deletion utility
Replies: 64
Views: 13989

Re: type nul and ren *.*

Thank you trebor but the section for deleting an entire folder doesn't work on my computer any ideas how to fix this and yes I removed the echo's.
by batchcc
06 Nov 2015 14:26
Forum: DOS Batch Forum
Topic: Sdel - speedy deletion utility
Replies: 64
Views: 13989

Sdel - speedy deletion utility

Moderator comment: This code deletes files but not securely, as the file will still exist untouched on the drive and can be unerased with any tool for the purpose. m sdel.bat Most recent version @echo off title SDEL - speedy deltetion :again cls echo SDEL - Speedy delete program echo. echo F - Dele...
by batchcc
29 Oct 2015 14:12
Forum: DOS Batch Forum
Topic: Record time taken for batch to process a file
Replies: 1
Views: 813

Record time taken for batch to process a file

I have a batch file similar to this

Code: Select all

@echo off 
Cls
Set /p word
If %word%== this echo that
:: with about 500 more if statements

How can I see how long it takes the file to reach an if statement and pipe the time taken into a text file ? Thanks.
by batchcc
24 Oct 2015 09:18
Forum: DOS Batch Forum
Topic: send clip board content to text file
Replies: 8
Views: 2065

Re: send clip board content to text file

No I had copied my question the the clip board and it sent the clip help to the text file instead.
by batchcc
24 Oct 2015 09:10
Forum: DOS Batch Forum
Topic: send clip board content to text file
Replies: 8
Views: 2065

Re: send clip board content to text file

I would like to run it from a batch file but I tried running it through cmd and it didn't work it sent the text type clip /? For usage into the text file.
by batchcc
24 Oct 2015 08:54
Forum: DOS Batch Forum
Topic: send clip board content to text file
Replies: 8
Views: 2065

Re: send clip board content to text file

Npocmaka I am sorry but it's not working on my computer note I am running windows Vista don't know if that helps ?
by batchcc
24 Oct 2015 08:34
Forum: DOS Batch Forum
Topic: send clip board content to text file
Replies: 8
Views: 2065

send clip board content to text file

Is it possible to send text from the clip board to a text file from a batch file I tried
Clip> C:\Users\user\1.text
But it didn't work is is it possible to do this?
by batchcc
22 Oct 2015 14:15
Forum: DOS Batch Forum
Topic: set a command as an environmental variable
Replies: 2
Views: 1167

set a command as an environmental variable

Hello I would like to know if it is possible to set a cmd command as an environmental variable. For example if a batch script contains many if statements would it be possible to set the if statement as a variable and run it @echo off Cls :top Set /p word Set "if word=="=var :: then you can...
by batchcc
20 Oct 2015 14:06
Forum: DOS Batch Forum
Topic: allow a space in user input without quotes
Replies: 7
Views: 1594

Re: allow a space in user input without quotes

OK I have a batch file named file.bat

Code: Select all

@echo off
Cls
Set /p action
If %action%== jump echo jump
If %action%== to jump echo jumping

Is there a way to allow the user to enter to jump without adding quotes ?
by batchcc
19 Oct 2015 16:51
Forum: DOS Batch Forum
Topic: allow a space in user input without quotes
Replies: 7
Views: 1594

allow a space in user input without quotes

Hi I have a batch file that contains a list of possible words the user can type in and the file will "echo" a different word but the user must type in one or two words and the first word will always be "to"if there are two words for example to run or the use could input a single ...
by batchcc
04 Oct 2015 11:53
Forum: DOS Batch Forum
Topic: Set title as time
Replies: 2
Views: 918

Set title as time

I have a question I was wondering how you can change the title every time the minute changes and not display the seconds just hour:minute This is wat I have so far. @echo off Cls set h=%TIME:~0,2% set m=%TIME:~3,2% set titletime=%h%:%m% Title %titletime% Pause But I want the code to continue and be ...
by batchcc
23 Sep 2015 08:45
Forum: DOS Batch Forum
Topic: calling saved data
Replies: 7
Views: 2110

Re: calling saved data

sorry Shadowtheif I am having an issue calling the stored name