Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsWindows Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 18th, 2012, 07:58 PM
kutacz kutacz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2011
Location: Warsaw
Posts: 46 kutacz User rank is Sergeant Major (2000 - 5000 Reputation Level)kutacz User rank is Sergeant Major (2000 - 5000 Reputation Level)kutacz User rank is Sergeant Major (2000 - 5000 Reputation Level)kutacz User rank is Sergeant Major (2000 - 5000 Reputation Level)kutacz User rank is Sergeant Major (2000 - 5000 Reputation Level)kutacz User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 15 h 8 m 14 sec
Reputation Power: 28
TREE into a file

Why after this command
Code:
TREE C:\  /A  > file1.txt

I got only part of the tree in my file, and when I use
Code:
TREE C:\ /a 
everything is ok?( there is a full device tree in the console window).

Reply With Quote
  #2  
Old February 18th, 2012, 10:27 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,257 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 18 h 51 m 19 sec
Reputation Power: 4445
Maybe you didn't let tree finish? I just did that command on my windows 7 computer and ended up with a 1.3mb text file with the entire tree output in it. It took maybe 30 seconds to complete.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

Reply With Quote
  #3  
Old February 27th, 2012, 07:29 AM
kutacz kutacz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2011
Location: Warsaw
Posts: 46 kutacz User rank is Sergeant Major (2000 - 5000 Reputation Level)kutacz User rank is Sergeant Major (2000 - 5000 Reputation Level)kutacz User rank is Sergeant Major (2000 - 5000 Reputation Level)kutacz User rank is Sergeant Major (2000 - 5000 Reputation Level)kutacz User rank is Sergeant Major (2000 - 5000 Reputation Level)kutacz User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 15 h 8 m 14 sec
Reputation Power: 28
Yeah, I've just resolved my problem. It was a fault of a codepage bug between cmd.exe and Windows. For Central Europe, cmd uses CP852 (DOS Latin II) and Windows - 1250 (Windows CE). That's why the tree crashed after seeing non-ASCII signs.
The solution is very simple - add "chcp 1250" command at the beginning.
Comments on this post
AdamPI agrees: For posting the solution.

Reply With Quote
  #4  
Old February 27th, 2012, 12:39 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,257 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 18 h 51 m 19 sec
Reputation Power: 4445
Thanks for posting the update.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > TREE into a file

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap