Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Command prompt failure


  • Please log in to reply
9 replies to this topic

#1 auldgrumpy

auldgrumpy

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:09:01 AM

Posted 25 October 2014 - 01:39 PM

When I try to create text file from my music folder, i get the message user needs privileges .

It is running in admin mode, so don't understand this.(Altough I don't understand mush about PC's)

on the prompt, C:\>, I enter users\grumpy\music>dir /b list.txt.

Then get the message about privileges.

Any one able to help me, please?



BC AdBot (Login to Remove)

 


#2 dc3

dc3

    Bleeping Treehugger


  • Members
  • 30,612 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:01:01 AM

Posted 25 October 2014 - 02:09 PM

If you are using the Command Prompt press the Windows key and the X key at the same time.  In the menu that opens click on Command Prompt (Admin), this will open the Command Prompt with administrative privileges.  Then run your command.


Edited by dc3, 25 October 2014 - 02:09 PM.

Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.

 

 

 

 


#3 auldgrumpy

auldgrumpy
  • Topic Starter

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:09:01 AM

Posted 25 October 2014 - 02:32 PM

If you are using the Command Prompt press the Windows key and the X key at the same time.  In the menu that opens click on Command Prompt (Admin), this will open the Command Prompt with administrative privileges.  Then run your command.

Thanks. I tried that, now I get a message saying evrything I typed after the prompt is not recognised.



#4 auldgrumpy

auldgrumpy
  • Topic Starter

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:09:01 AM

Posted 25 October 2014 - 02:51 PM

This input appears to work, but I can't find the file.txt. Has it saved or have I screwed it up again.

Thanks

C:\>Users\Grumpy\Desktop\AMUSIC>dir /b file.txt



#5 JohnC_21

JohnC_21

  • Members
  • 24,045 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:01 AM

Posted 25 October 2014 - 03:15 PM

If you were looking to get a list of AMUSIC I would type the following at the C:\ Prompt. This would put the txt file on the root of C:\

C:\>dir/b Users\Grumpy\Desktop\AMUSIC > list.txt


#6 auldgrumpy

auldgrumpy
  • Topic Starter

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:09:01 AM

Posted 25 October 2014 - 03:23 PM

Thanks again. That seemed to be accepted but I still can't find the file.  I should add, I am an old eedjit.



#7 JohnC_21

JohnC_21

  • Members
  • 24,045 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:01 AM

Posted 25 October 2014 - 03:42 PM

Do you see the file with this command at the C: prompt?

C:\>dir *.txt

You should get a result of list.txt or whatever txt file you used.



#8 auldgrumpy

auldgrumpy
  • Topic Starter

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:09:01 AM

Posted 25 October 2014 - 03:47 PM

Thanks a million. I searched my whole pc and it found it .

Thanks again.



#9 JohnC_21

JohnC_21

  • Members
  • 24,045 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:01 AM

Posted 25 October 2014 - 03:57 PM

Your Welcome. Glad you got it to work.

 

If you do this alot, you may want to look at these utilities that are free. #2 Dirlister may be what you are looking for.



#10 auldgrumpy

auldgrumpy
  • Topic Starter

  • Members
  • 6 posts
  • OFFLINE
  •  
  • Local time:09:01 AM

Posted 25 October 2014 - 04:04 PM

Thanks for the info. I will try it, but as I am an eedjit, I will keep the info you have given on here.

Thanks again.

You answered more clearly and with less jargon than ehow did.

Have a great weekend.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users