Computing desk | ||
---|---|---|
< November 13 | << Oct | November | Dec >> | November 15 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Does this batch file properly store the computers file tree into a txt file in my documents folder (C:\Users\'User'\Documents)
@echo off
set /p filetree=tree /F C:\
echo %filetree% > Filetree.txt
echo File tree has been made
pause
-- Melab ± 1 00:26, 14 November 2008 (UTC)
The syntax is wrong. Change it to this:
@echo off
set filetree=tree /F C:\
%filetree% > Filetree.txt
echo File tree has been made
pause
Set /p is for a prompt. You don't need to set a variable either -- I'm not sure why you did that. I'd just do it like this:
@echo off
tree /F C:\ > Filetree.txt
echo File tree has been made
pause
That's assuming you want to include file names in the tree (hence the /F). It's also assuming that you're in your documents folder when you run the batch file. If you aren't, you'd need to change > Filetree.txt to > C:\Users\user\documents\Filetree.txt. Good luck with your assignment ;).-- Areateeth34 ( talk) 02:16, 14 November 2008 (UTC)
Hello. Internet Explorer 7 hyperlinks whatever looks like phone numbers to Windows Live Call. I visited websites in which the seven digit numbers separated by a hyphen after the first three digits are hyperlinks going to different parts of the website, not phone numbers. How do I disable Live Call hyperlinking? Thanks in advance. -- Mayfare ( talk) 02:45, 14 November 2008 (UTC)
220.225.242.210 ( talk) 03:42, 14 November 2008 (UTC) harshagg
Hello, I want to know how i can myself assign a limited no. of bits to a certain variable instead of using the existing data types. Example, i have char a; --> which will assign 8 bits to a; but i want to make a variable 'a' and assign just 1 or 2 bits to it and use it in my programs. Is that possible in any known programming language? And if not then answer this, Why is it that none of the compilers give the user the ability to make their own new data types in addition to the existing data types (eg : int ,char, float);???????
Also one more question.
A char data type can store 256 values and occupies 1 byte, which is equal to 8 bits.
A bool data type can store only two values, 0 and 1 -> but still occupies 1 byte, again 8 bits. Technically it should occupy only one bit of space but occupies 8 bits. IF you use the sizeof() function in c++ and output it both bool and char show the same number of bits assigned to it.
WHy is that?
Note: sizeof() function returns the size in bytes and not bits.
char c; c |= (1 << x) ; //set bit number x (where x is 0 to 7) c &= ~(1 << x) ; //clear bit number x and test the values like this: if (c & (1<<x)) ; //true if bit x is set if ((c & (1<<x) == 0)) ;//true if bit x is clear
Dacium ( talk) 04:05, 14 November 2008 (UTC)
char n = 0; n |= 9; /* n is now 00001001 */ n |= (14 << 4); /* n is now 11101001 */ int r = n & 0xf; /* r = 9 */ r = n >> 4; /* r = 14 */
0xf
or 0xff
(2number of bits - 1). --
wj32
t/
c
05:56, 14 November 2008 (UTC)Harshagg ( talk) 15:30, 14 November 2008 (UTC)harshagg QUestion :- but you cannot avoid memory padding which will waste my rest of memory so no use of doing that
Hi there, Is there any way to figure out what all the processes are running on my puter? When i go to Task Manager there are nearly 100 exe files listed, one of which is some adware that pops an IE window every window 1/2 hour or so. Some of them are obvious like iexplorer.exe but what the heck is alg.exe or tpfnf7sp.exe? Is the only way to track them down to do gsearch of each and every one? thnx —Preceding unsigned comment added by 64.234.6.82 ( talk) 07:14, 14 November 2008 (UTC)
Sorry if I'm asking the obvious, but have you tried running a program designed to sniff out this kind of thing? Back when I used Windows I was once affected, by some sleazeware that had the effrontery to attempt to sell me anti-spyware software that would kill it (ha ha); instead I used a freeware program that didn't find the culprit, and then some trialware program (sorry, I forget its name) that got a serious write-up in Wikipedia. It cost me $20 or but I got my money's worth. Although I rate myself fairly highly at avoiding trouble (and I only screwed up that one time), if I am in trouble then I figure other companies' algorithms and databases will be far better at locating sleazeware on my computer than my own tired eyeballs would be. -- Hoary ( talk) 12:44, 14 November 2008 (UTC)
I'm probably just being silly again but is there a way to get rid of the header on every page? I only want it on one page and it seems to be appearing on all of them! I'd appreciate any help! :) -- Cameron * 13:44, 14 November 2008 (UTC)
Are there any article or materials available for Siebel CRM? Is there any special site for GE Commercial Finance Siebel Application details?What is the link? —Preceding unsigned comment added by Shaliniimohan9 ( talk • contribs) 15:25, 14 November 2008 (UTC)
I have some questions related to cellular phones and the SIM cards in them (United States):
1) I have two cell phones which have failed. I suspect one has failed in the SIM card itself, as it now says it's "not registered" and gives errors whenever I try to program it. The other phone has problems with the buttons not working reliably, but the SIM card is probably OK. So, can I take the working SIM card and put it into the working phone ? I'm guessing not in this case since the SIM card would be moved from a Motorola W260g with Tracfone service to a Kyocera phone under Page Plus Cellular service.
2) If I can't do the above swap, could I move the SIM to a Motorola V170 under Tracfone ?
3) And how about if I bought an identical phone (Motorola W260g with Tracfone service) ? Could I then move the SIM card over to recover my minutes ? StuRat ( talk) 17:47, 14 November 2008 (UTC)
What features in CSS, if any, became part of the W3C standard as a result of being implemented by the browsers, rather than vice-versa? Neon Merlin 18:06, 14 November 2008 (UTC)
I'm in law school, and during our exams we are now running some sort of exam software called Exam4 that appears to disable at least firefox and internet explorer. I like to make outlines in wiki format (I installed mediawiki on my computer), and then I look at them through firefox even though they're hosted on my own computer. (We have open note/laptop exams so we're allowed to refer to our notes, which for most people are in Word.) Does anyone have any ideas of how I could still use mediawiki for constructing my outline, or do I need to go old-school again? (Note that I don't need to access the internet here if that makes any difference, I just need to be able to look at html files that are hosted locally.) I haven't gone through every obscure web browser - maybe I should just do that, but I bet it would take a really really long time to find something the program doesn't recognize. Calliopejen1 ( talk) 18:51, 14 November 2008 (UTC)
I'm trying to get a list of files that have a file extension of .asp. I tried DIR *.asp but this also returns files with a .aspx extension even though I did not type DIR *.asp? or DIR *.asp*. I imagine that at some point in time, Microsoft F-ed up the DIR command so now it no longer works correctly. Does anyone know the proper command to get a list of files with a .asp extension and only a .asp extension? 216.239.234.196 ( talk) 20:29, 14 November 2008 (UTC)
In C#, what's the worst case time complexity of SortedList<TKey,TValue>.Concat() when both arguments are SortedList<TKey,TValue>s with the same TKey and TValue and the output is being stored in one as well? Neon Merlin 20:36, 14 November 2008 (UTC)
First of all, to clear everything up, I am not asking this so I can look at porn. I am not even asking this to get onto myspace. I just need to bypass my school's network security to get to websites which will help me with my senior project. I have went to the administration, but they decided I could go to a public library if it meant that much to me (I have 28.8 kb/s dial-up at home. Try watching videos on that).
So here is the scenario: -I am by no means a computer genius; I just know how to use resources, and I can think through things. So if you do help, dumb it down as much as possible, please. -The school used to use a computer based proxy. I could turn that off. -They got smarter, and locked it; I got through. -They based the entire security system at Central Office, where I can't easily access it; I will now provide some information that will hopefully help someone assist me. -It won't even let me use FireFox (they got one up on me). They used to have the proxy based on IE, but after they realized someone (me) was using alternates, they based it on something else.
I will use myspace as an example, since every kid in the school wants to get to it.
Ex 1: When I type in http://www.myspace.com, it redirects me to this page: http://10.1.1.60:81/cgi/block.cgi?URL=http://www.mypsace.com/&IP=10.209.2.111&CAT=GPORN&USER=DEFAULT
Ex 2: I download LimeWire, and it will download, install, and open, but when I try to actually download a song, it never connects. This leads me to believe that they have some firewall or something blocking anything foreign getting to the internet.
What I can Do: I can create/delete and manage (to some extent) Administrator accounts; I can use command prompt within simple LIMITS. I'm just looking for the right website or right person who can basically spell it out for me, or at least point me in the right direction for more research.
So please. Help!
The LimeWire thing is secondary, but it would be nice to have new songs again. —Preceding unsigned comment added by EWHS ( talk • contribs) 20:43, 14 November 2008 (UTC)
Are the computers set up so that after any person has logged in they have what appears to be their own disk drive (perhaps a "G:" or "M:" or whatever, in addition to the untouchable "C:", "D:", and perhaps "E:")? That's the way it was when I used an institution's computers some years ago. On C:, D:, and perhaps E:, the institution had installed The World's Favorite Software (i.e. mediocre bloatware), and any attempt to install any additional software there would fail. However, it was possible to install software on the virtual drive, and to run some of it from there. Firefox would run perfectly well, though I couldn't store any of its settings (or perhaps even change the settings in the first place; I now forget).
However, I can't see how running Firefox rather than Exploder is likely to help you very much.
Despite your modesty, you clearly do know quite a bit. Rather than wasting your knowledge and energies battling with the people who run your school (a war that you're sure to lose in the long run, and that might get you into serious trouble), I suggest you find some way of turning them into cash (creating websites? setting up LANs?), and use the cash to get a good connection at home, a good connection which you can then use for your serious purposes and also (cough) for purposes that require more privacy than would be available in a school. -- Hoary ( talk) 02:04, 15 November 2008 (UTC)
Now, philosophically, why can't my administration grant an exception? I'd be willing to do it supervised, even. I'm in the top of my class, I never get in trouble; you would assume that there would be a certain level of trust. But yet, they even have google images blocked. Yeah. Go figure.
And, addressing the WiFi theory, I have already tried that, to the same effects. I haven't, however, tried to use an apartment building or a single family house. I live in rural, western NC, and WiFi is hard to come by--especially with my lack of Laptop.
Finally, thanks for the compliment, but I'm really not that good. Yeah, I know synonyms for "hacking" to search google (they have word-specific searches blocked to, hacking being one of them), and the common sense to not get caught and delete everything I do at the end of a session. I don't think there are any jobs that would pay me for having common sense. And, to be quite honest, I have never even tried making a website or anything...and this LANs you speak of...I had to wiki-it. :D Seriously, I'm not modest--I'm honest. —Preceding unsigned comment added by EWHS ( talk • contribs) 20:40, 17 November 2008 (UTC)
[2] This video seems to resist such tools as the media-converter and KeepVid - any ideas? Thanks! ╟─ Treasury Tag► contribs─╢ 22:24, 14 November 2008 (UTC)
Thanks, did it with FVD :-) ╟─ Treasury Tag► contribs─╢ 08:10, 15 November 2008 (UTC)
Computing desk | ||
---|---|---|
< November 13 | << Oct | November | Dec >> | November 15 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Does this batch file properly store the computers file tree into a txt file in my documents folder (C:\Users\'User'\Documents)
@echo off
set /p filetree=tree /F C:\
echo %filetree% > Filetree.txt
echo File tree has been made
pause
-- Melab ± 1 00:26, 14 November 2008 (UTC)
The syntax is wrong. Change it to this:
@echo off
set filetree=tree /F C:\
%filetree% > Filetree.txt
echo File tree has been made
pause
Set /p is for a prompt. You don't need to set a variable either -- I'm not sure why you did that. I'd just do it like this:
@echo off
tree /F C:\ > Filetree.txt
echo File tree has been made
pause
That's assuming you want to include file names in the tree (hence the /F). It's also assuming that you're in your documents folder when you run the batch file. If you aren't, you'd need to change > Filetree.txt to > C:\Users\user\documents\Filetree.txt. Good luck with your assignment ;).-- Areateeth34 ( talk) 02:16, 14 November 2008 (UTC)
Hello. Internet Explorer 7 hyperlinks whatever looks like phone numbers to Windows Live Call. I visited websites in which the seven digit numbers separated by a hyphen after the first three digits are hyperlinks going to different parts of the website, not phone numbers. How do I disable Live Call hyperlinking? Thanks in advance. -- Mayfare ( talk) 02:45, 14 November 2008 (UTC)
220.225.242.210 ( talk) 03:42, 14 November 2008 (UTC) harshagg
Hello, I want to know how i can myself assign a limited no. of bits to a certain variable instead of using the existing data types. Example, i have char a; --> which will assign 8 bits to a; but i want to make a variable 'a' and assign just 1 or 2 bits to it and use it in my programs. Is that possible in any known programming language? And if not then answer this, Why is it that none of the compilers give the user the ability to make their own new data types in addition to the existing data types (eg : int ,char, float);???????
Also one more question.
A char data type can store 256 values and occupies 1 byte, which is equal to 8 bits.
A bool data type can store only two values, 0 and 1 -> but still occupies 1 byte, again 8 bits. Technically it should occupy only one bit of space but occupies 8 bits. IF you use the sizeof() function in c++ and output it both bool and char show the same number of bits assigned to it.
WHy is that?
Note: sizeof() function returns the size in bytes and not bits.
char c; c |= (1 << x) ; //set bit number x (where x is 0 to 7) c &= ~(1 << x) ; //clear bit number x and test the values like this: if (c & (1<<x)) ; //true if bit x is set if ((c & (1<<x) == 0)) ;//true if bit x is clear
Dacium ( talk) 04:05, 14 November 2008 (UTC)
char n = 0; n |= 9; /* n is now 00001001 */ n |= (14 << 4); /* n is now 11101001 */ int r = n & 0xf; /* r = 9 */ r = n >> 4; /* r = 14 */
0xf
or 0xff
(2number of bits - 1). --
wj32
t/
c
05:56, 14 November 2008 (UTC)Harshagg ( talk) 15:30, 14 November 2008 (UTC)harshagg QUestion :- but you cannot avoid memory padding which will waste my rest of memory so no use of doing that
Hi there, Is there any way to figure out what all the processes are running on my puter? When i go to Task Manager there are nearly 100 exe files listed, one of which is some adware that pops an IE window every window 1/2 hour or so. Some of them are obvious like iexplorer.exe but what the heck is alg.exe or tpfnf7sp.exe? Is the only way to track them down to do gsearch of each and every one? thnx —Preceding unsigned comment added by 64.234.6.82 ( talk) 07:14, 14 November 2008 (UTC)
Sorry if I'm asking the obvious, but have you tried running a program designed to sniff out this kind of thing? Back when I used Windows I was once affected, by some sleazeware that had the effrontery to attempt to sell me anti-spyware software that would kill it (ha ha); instead I used a freeware program that didn't find the culprit, and then some trialware program (sorry, I forget its name) that got a serious write-up in Wikipedia. It cost me $20 or but I got my money's worth. Although I rate myself fairly highly at avoiding trouble (and I only screwed up that one time), if I am in trouble then I figure other companies' algorithms and databases will be far better at locating sleazeware on my computer than my own tired eyeballs would be. -- Hoary ( talk) 12:44, 14 November 2008 (UTC)
I'm probably just being silly again but is there a way to get rid of the header on every page? I only want it on one page and it seems to be appearing on all of them! I'd appreciate any help! :) -- Cameron * 13:44, 14 November 2008 (UTC)
Are there any article or materials available for Siebel CRM? Is there any special site for GE Commercial Finance Siebel Application details?What is the link? —Preceding unsigned comment added by Shaliniimohan9 ( talk • contribs) 15:25, 14 November 2008 (UTC)
I have some questions related to cellular phones and the SIM cards in them (United States):
1) I have two cell phones which have failed. I suspect one has failed in the SIM card itself, as it now says it's "not registered" and gives errors whenever I try to program it. The other phone has problems with the buttons not working reliably, but the SIM card is probably OK. So, can I take the working SIM card and put it into the working phone ? I'm guessing not in this case since the SIM card would be moved from a Motorola W260g with Tracfone service to a Kyocera phone under Page Plus Cellular service.
2) If I can't do the above swap, could I move the SIM to a Motorola V170 under Tracfone ?
3) And how about if I bought an identical phone (Motorola W260g with Tracfone service) ? Could I then move the SIM card over to recover my minutes ? StuRat ( talk) 17:47, 14 November 2008 (UTC)
What features in CSS, if any, became part of the W3C standard as a result of being implemented by the browsers, rather than vice-versa? Neon Merlin 18:06, 14 November 2008 (UTC)
I'm in law school, and during our exams we are now running some sort of exam software called Exam4 that appears to disable at least firefox and internet explorer. I like to make outlines in wiki format (I installed mediawiki on my computer), and then I look at them through firefox even though they're hosted on my own computer. (We have open note/laptop exams so we're allowed to refer to our notes, which for most people are in Word.) Does anyone have any ideas of how I could still use mediawiki for constructing my outline, or do I need to go old-school again? (Note that I don't need to access the internet here if that makes any difference, I just need to be able to look at html files that are hosted locally.) I haven't gone through every obscure web browser - maybe I should just do that, but I bet it would take a really really long time to find something the program doesn't recognize. Calliopejen1 ( talk) 18:51, 14 November 2008 (UTC)
I'm trying to get a list of files that have a file extension of .asp. I tried DIR *.asp but this also returns files with a .aspx extension even though I did not type DIR *.asp? or DIR *.asp*. I imagine that at some point in time, Microsoft F-ed up the DIR command so now it no longer works correctly. Does anyone know the proper command to get a list of files with a .asp extension and only a .asp extension? 216.239.234.196 ( talk) 20:29, 14 November 2008 (UTC)
In C#, what's the worst case time complexity of SortedList<TKey,TValue>.Concat() when both arguments are SortedList<TKey,TValue>s with the same TKey and TValue and the output is being stored in one as well? Neon Merlin 20:36, 14 November 2008 (UTC)
First of all, to clear everything up, I am not asking this so I can look at porn. I am not even asking this to get onto myspace. I just need to bypass my school's network security to get to websites which will help me with my senior project. I have went to the administration, but they decided I could go to a public library if it meant that much to me (I have 28.8 kb/s dial-up at home. Try watching videos on that).
So here is the scenario: -I am by no means a computer genius; I just know how to use resources, and I can think through things. So if you do help, dumb it down as much as possible, please. -The school used to use a computer based proxy. I could turn that off. -They got smarter, and locked it; I got through. -They based the entire security system at Central Office, where I can't easily access it; I will now provide some information that will hopefully help someone assist me. -It won't even let me use FireFox (they got one up on me). They used to have the proxy based on IE, but after they realized someone (me) was using alternates, they based it on something else.
I will use myspace as an example, since every kid in the school wants to get to it.
Ex 1: When I type in http://www.myspace.com, it redirects me to this page: http://10.1.1.60:81/cgi/block.cgi?URL=http://www.mypsace.com/&IP=10.209.2.111&CAT=GPORN&USER=DEFAULT
Ex 2: I download LimeWire, and it will download, install, and open, but when I try to actually download a song, it never connects. This leads me to believe that they have some firewall or something blocking anything foreign getting to the internet.
What I can Do: I can create/delete and manage (to some extent) Administrator accounts; I can use command prompt within simple LIMITS. I'm just looking for the right website or right person who can basically spell it out for me, or at least point me in the right direction for more research.
So please. Help!
The LimeWire thing is secondary, but it would be nice to have new songs again. —Preceding unsigned comment added by EWHS ( talk • contribs) 20:43, 14 November 2008 (UTC)
Are the computers set up so that after any person has logged in they have what appears to be their own disk drive (perhaps a "G:" or "M:" or whatever, in addition to the untouchable "C:", "D:", and perhaps "E:")? That's the way it was when I used an institution's computers some years ago. On C:, D:, and perhaps E:, the institution had installed The World's Favorite Software (i.e. mediocre bloatware), and any attempt to install any additional software there would fail. However, it was possible to install software on the virtual drive, and to run some of it from there. Firefox would run perfectly well, though I couldn't store any of its settings (or perhaps even change the settings in the first place; I now forget).
However, I can't see how running Firefox rather than Exploder is likely to help you very much.
Despite your modesty, you clearly do know quite a bit. Rather than wasting your knowledge and energies battling with the people who run your school (a war that you're sure to lose in the long run, and that might get you into serious trouble), I suggest you find some way of turning them into cash (creating websites? setting up LANs?), and use the cash to get a good connection at home, a good connection which you can then use for your serious purposes and also (cough) for purposes that require more privacy than would be available in a school. -- Hoary ( talk) 02:04, 15 November 2008 (UTC)
Now, philosophically, why can't my administration grant an exception? I'd be willing to do it supervised, even. I'm in the top of my class, I never get in trouble; you would assume that there would be a certain level of trust. But yet, they even have google images blocked. Yeah. Go figure.
And, addressing the WiFi theory, I have already tried that, to the same effects. I haven't, however, tried to use an apartment building or a single family house. I live in rural, western NC, and WiFi is hard to come by--especially with my lack of Laptop.
Finally, thanks for the compliment, but I'm really not that good. Yeah, I know synonyms for "hacking" to search google (they have word-specific searches blocked to, hacking being one of them), and the common sense to not get caught and delete everything I do at the end of a session. I don't think there are any jobs that would pay me for having common sense. And, to be quite honest, I have never even tried making a website or anything...and this LANs you speak of...I had to wiki-it. :D Seriously, I'm not modest--I'm honest. —Preceding unsigned comment added by EWHS ( talk • contribs) 20:40, 17 November 2008 (UTC)
[2] This video seems to resist such tools as the media-converter and KeepVid - any ideas? Thanks! ╟─ Treasury Tag► contribs─╢ 22:24, 14 November 2008 (UTC)
Thanks, did it with FVD :-) ╟─ Treasury Tag► contribs─╢ 08:10, 15 November 2008 (UTC)