Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

Unable to pipe result to a file in DOS

Closed Thread
 
Thread Tools Display Modes
Old 09-29-2006   #1 (permalink)
=?Utf-8?B?bGFyaXZybw==?=
Guest


 

Unable to pipe result to a file in DOS

I tried to do a dir *.* /s >files.txt and I received an access denied
message. Anyone know how to fix this? I am part of the administrator groups
so privilages should not be an issue although whenever I start a new program
a the user account control window pops up and asks my permission to allow the
program to continue.
Old 09-29-2006   #2 (permalink)
Tyler Hunt [MS]
Guest


 

Re: Unable to pipe result to a file in DOS

You're running with UAC on, so your administrative accounts are running as
standard users most of the time, and you will get the prompt when you need
to do something with administrative powers.

Try piping the result to a file that's somewhere a standard user would have
write permission. (For example, c:\users\<myuser>\files.txt).
Otherwise, run the cmd prompt as an administrator (right click the shortcut,
"run as administrator").

"larivro" <larivro@discussions.microsoft.com> wrote in message
news:C805E9BB-0C28-4115-BFF1-EAD3C14484FC@microsoft.com...
>I tried to do a dir *.* /s >files.txt and I received an access denied
> message. Anyone know how to fix this? I am part of the administrator
> groups
> so privilages should not be an issue although whenever I start a new
> program
> a the user account control window pops up and asks my permission to allow
> the
> program to continue.



Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
strange result when adding $ George PowerShell 0 1 Week Ago 04:36 AM
Pipe a pipe command to a file WB VB Script 4 07-15-2008 09:03 PM
Search Result Arun Vista General 1 07-08-2007 08:56 PM
Capture command result Bruce Wilkinson PowerShell 2 12-20-2006 11:19 AM
Xml Databinding - Why no result from XPath? jmagaram Avalon 4 10-13-2006 08:02 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50