Search found 5868 matches

by foxidrive
25 Sep 2016 19:54
Forum: DOS Batch Forum
Topic: DIR /s Command on Mapped Drives
Replies: 17
Views: 15750

Re: DIR /s Command on Mapped Drives

It's an external Seagate 4tB NTFS drive from a Win7 64bit machine. I'm accessing it from a Win10 64-bit box. No matter the combination of DOS commands, I can't get past the root listing of folders/files. Specifying any/every sub-folder works as advertised and lets me drill down with no problem. Dir...
by foxidrive
25 Sep 2016 19:51
Forum: DOS Batch Forum
Topic: A Batch script to email when it fails a task
Replies: 2
Views: 3549

Re: A Batch script to email when it fails a task

How can I create a batch script and make it run at or after 9 pm. You'd use task scheduler for that. There is a command line tool to create tasks as well. Where it would 1. Run a Ccleaner 2. Run updates. 3. Run a malware Byte 4. And clear out temps. 5. Do disk frag and lastly 6. Restarts and also s...
by foxidrive
25 Sep 2016 15:22
Forum: DOS Batch Forum
Topic: DIR /s Command on Mapped Drives
Replies: 17
Views: 15750

Re: DIR /s Command on Mapped Drives

It should work just fine.

What kind of drive is being mapped? NTFS format?
Is it from a Linux box?

try using just

Code: Select all

dir /s /ad 
by foxidrive
24 Sep 2016 07:01
Forum: DOS Batch Forum
Topic: Batch job won't run with task scheduler
Replies: 13
Views: 12643

Re: Batch job won't run with task scheduler

Squashman wrote:Window Task Scheduler has never failed if I put in the correct credentials for access to the network resource.

That's the key I think. The system account doesn't have access to any network resources.
by foxidrive
23 Sep 2016 23:01
Forum: DOS Batch Forum
Topic: Creating a script to gather PC information - to assist those asking for help
Replies: 167
Views: 146625

Re: Creating a script to gather PC information - to assist those asking for help

No worries. Now that the registry edit is in place it will stay there. It's with the new setting that gives Elevated Admin=Yes INFO.BAT version 1.2 -------------------------------------------------------------------------------- Windows version : Microsoft Windows [Version 6.3.9600] Product name : W...
by foxidrive
23 Sep 2016 09:50
Forum: DOS Batch Forum
Topic: Creating a script to gather PC information - to assist those asking for help
Replies: 167
Views: 146625

Re: Creating a script to gather PC information - to assist those asking for help

aGerman wrote:Would you mind telling me if that works correctly on your Win8.1?

I see this:

Code: Select all

set "RunAs=Yes"
Press any key to continue . . .
by foxidrive
23 Sep 2016 00:32
Forum: DOS Batch Forum
Topic: Is this possible
Replies: 36
Views: 24665

Re: Is this possible

explosivedolphin wrote:A few changes I would like to see
maybe change the size of the command prompt but make it look nicer at least


The mode command is useful there.
type mode /? for the help screen.

The display mode is the line to pay attention to.
by foxidrive
22 Sep 2016 09:17
Forum: DOS Batch Forum
Topic: sector not found writing drive C error
Replies: 8
Views: 7766

Re: sector not found writing drive C error

Wishmaster84 wrote:The same USB has problems on different devices.


It sounds like it's defective.

If it is a number of the same type of USB key that doesn't work then it's probably a hardware limitation in the USB electronics - the solution is to get another model of USB key.
by foxidrive
21 Sep 2016 19:05
Forum: DOS Batch Forum
Topic: Creating a script to gather PC information - to assist those asking for help
Replies: 167
Views: 146625

Re: Creating a script to gather PC information - to assist those asking for help

douglas.swehla wrote:If anyone can test on a pre-XP machine, I'd be interested in knowing whether SESSION was available then.


I booted up my VirtualBox Windows 98 and it doesn't support NET SESSION
by foxidrive
21 Sep 2016 18:59
Forum: DOS Batch Forum
Topic: &'s in WGET URLs
Replies: 5
Views: 5904

Re: &'s in WGET URLs

(_osd_) wrote:@SquashMan Yes, but it did not work.


It will work. Try it again and show the command line here if it fails again.
by foxidrive
21 Sep 2016 10:47
Forum: DOS Batch Forum
Topic: Creating a script to gather PC information - to assist those asking for help
Replies: 167
Views: 146625

Re: Creating a script to gather PC information - to assist those asking for help

registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System EnableLUA=0 The computer must be restarted for this to take effect... and vodka should better be very cold! Bewdy! Thanks. Done and dusted. -------------------------------------------------------------------...
by foxidrive
20 Sep 2016 20:55
Forum: DOS Batch Forum
Topic: Creating a script to gather PC information - to assist those asking for help
Replies: 167
Views: 146625

Re: Creating a script to gather PC information - to assist those asking for help

1) Does NET SESSION output an error message ? Yep. z:\>net session System error 5 has occurred. Access is denied. 2) Are you able to access HKU\S-1-5-19 ? I searched for that line and see it uses wmic, but it's too complicated in that format for me to nut out how to test it. Chonic sleep deprivatio...
by foxidrive
20 Sep 2016 07:17
Forum: DOS Batch Forum
Topic: Creating a script to gather PC information - to assist those asking for help
Replies: 167
Views: 146625

Re: Creating a script to gather PC information - to assist those asking for help

Adding an info.bat version number to the output will help: as a person may use an earler version.
by foxidrive
20 Sep 2016 07:15
Forum: DOS Batch Forum
Topic: Creating a script to gather PC information - to assist those asking for help
Replies: 167
Views: 146625

Re: Creating a script to gather PC information - to assist those asking for help

Is this expected? I have three machines shown here that use an admin account and with UAC disabled. The Windows 8.1 at the bottom has Elevated Admin=No, Admin group=Yes while the other two have Elevated Admin=Yes, Admin group=Yes I have consumed too many bottles of vodka to figure it out for myself....
by foxidrive
20 Sep 2016 05:17
Forum: DOS Batch Forum
Topic: Save textlines to respective variables
Replies: 6
Views: 5433

Re: Save textlines to respective variables

(_osd_) wrote:@aGerman Ok... So how can I do that?


Here are some tips for you.

See here: viewtopic.php?f=3&t=6108