http and ssh to Cisco router | Python tricks | Javascript for Internet Explorer | Ethereal | Old Phones | Drop-Down Auto-Fill window in Google | Editor config | HTML links in table cells | OpenGL and 3D graphics | Cygwin produces undeleteable files | Cprogramming.com/tutorial/templates.html tutorials just print One page | KWIC | Lilo boot error recovery | Java runtime error solutions | SSI on Apache, IIS | Perl on Apache, IIS | Windows Services | Microsoft Word | Javascript and Firefox | Fix "missing .DLL" problems with SFC (system file checker) | Install PHP on Windows XP Home | Install TGF using scp, configuration | Windows and network neighborhood shortcut | Cygwin and Landon Curt Noll's calc | Cygwin and sed | Cygwin environmental Variable and emacs | Netscape was unable to create a network socket connection. (where is) Windows Welcome Music | Send msgs to other Windows users | Diacritical marks - Windows platform | Gawk functions | "Webcast Training" has 357,000 Google hits! | Microsoft Visual Studio C2660 error on old sdiv.c program | Configure GRUB for dual booting | What's my laptop telling other computers on the network & and what ports are open? | How display webpage icon in browser windows? | sc | register file extensions .py, .tcl, .pl so file of this ext will execute | Microsoft Word macro to swap char | Microsoft Word list all shortcut keys | Fixing mysterious errors in Microsoft Word documents | Magnets from disk drives, other sources | Bookmarklets - href: to embedded javascript for limited interactive apps | Improve Performace of Windows Operating Systems... | Table of Contents in Word Documnets | Styles in Word Documents | Pagerefs in Word Documents | Address Book in Mozilla | Change Windows Explorer Display options globally | Web Hosting on DSL | Windows XP batch files build CLASSPATH var | Turn on enablePlainTextPassword from DOS using WSH (jscript) | Turn on enablePlainTextPassword using Windows XP Local Security Policy settings | Set IP address from DOS using netsh command | Words I've had to look up recently | base href HTML usage | XML Schemaa usage | Adjust file order in editor open-file chooser
http: pointing a browser at the Cisco 3560 IP address
pops up window requiring username (level 15) and password.
the configuration DOES have a username defined (see ssh below)
but not apparently a level 15 one. Level 15 is required to
get to enable mode.
solution add another username, one with level 15 privileges:
username dkerr privilege 15 password 0 easytorememberpasswd
(password 0 says no encryption; elsewhere, the config says
"service password-encryption" but this just seems to force
simple (7) encryption...
ssh: with configuration defining
username act350 password 7 00061C030D550C041D2E5B40
and
ip address 172.26.248.253 255.255.255.0
and
line vty 0 4
password 7 110B16001E01C0C0E16253C2A
login local
transport input ssh
ssh -lact350 172.26.248.253
provide enable password
for i in range(8): # 0 1 2 3 4 5 6 7 if i in (2,6,4,1): print iprints 1 2 4 6 (in a column)
Installed MySQL 5.0 and MySQLAdmin. started MySQLAdmin, it asked for Stored Connection (left blank), Server Host (localhost), Port (3306) Username (Owner), Password (left blank) and it connected!
Under User Administration, put user "root" password to dogyr.
Under Catalogs (lists databases and has Table Editor!), right clicked on the "test" database, selected "Create New Schema" to create a new Database! (called the new database "dk_addresses".
Running Filezilla server on home pc, accessing it from FAA over Internet via Linksys router passing through ports 21 and 20 to home computer, get message:
521 PASV 88.241.12.8 mismatch 192.168.2.112
Web server on same box works fine remotely! (apache) from FAA. So same IP route with NAT on Linksys works for HTTP, fails for FTP...
Many limitations compared with Mozilla Firefox, so Internet Explorer
becomes a conservative target platform...
IE doesn't understand the color "grey", so use "gray"
IE doesn't find id="tagname" in <span> containers, but
does find them in table <td> containers.
IE uses innerText instead of textContent to access DOM entities.
Print to file; Check Output to file, supply filename; unselect Packet details but leave selected Packet summary line...
Many users note that when you click on the empty search specification window in google, you get a sometimes-long list of all the search strings you've ever entered into google. These users typically ask "How to delete this list"... This isn't hard or even complicated - in Firefox, Tools → Options → Privacy → Saved Form Information. Either click the "Clear" button or uncheck the box "Save information I enter into web page forms and the Search bar"
BTW, unchecking this box makes the drop-down feature go away but if you recheck the box, the old material comes back!
But I want to know Where is the info stored??
It in the file formhistory.dat way down in the directory
Documents and Settings\david\Application Data\Mozilla\Firefox\Profiles\xxx.default\
but the data is in a peculiar format!
starting in the sixth line is <(80=q$00)(81=
and then a searched item appears, painfully stretched out with $00 seperators
between each character! Not designed for easy perusal! - but maybe this format
accomodates unicode?
The first 4 lines contain a key table: (80= is formhistory:all,
(81= is formhistory, (82= is Value, (83= is Name.
it may be that (80=q is for queries in google search window. There's
many other form entries, e.g. (80=emailAddress (each letter seperated by "$00")
Delete an entry in the drop-down list by selecting, pressing Shift-Delete
Related plugins: Roboform (free and pro versions) and Autoform (in rewrite)
Notepad++ v3.1 released 7/14/2005, has header footer printing!
Ultraedit DOES have color printing of syntax highlighting, you just
have to turn it on! (File → Print Setup/Configuration → Page Setup
check "Print Sytnax Highlighting"
Ultraedit doesn't do CSS syntax highlighting, but this can be added. In the Ultraedit install directory, there is a file, wordfile.txt, that defines how 9 or 10 programming language tokens are highlighted. Mark Stevens has "ultraedit_css.txt" defining CSS syntax highlighting - cut and paste to wordfile.txt. Download ultraedit_css.txt here.
Configuration of Ultraedit: somehow, I changed Ultraedit so that
the file tabs disappeared! To restore: View → Views/Lists →
Open File Tabs
Discovered that Ctrl-u toggles File Tree View!
When the table cell is taller than the link text, and you want the a:hover attribute to make the whole cell clickable, not just the text, what do you do?
The Problem:
hover-yellow
link text high...
DK Home | some text stacked up to make cells taller |
Partial Solution:
"DK Home" line-height:4em;
but lost yellow!
DK Home |
some text stacked up to make cells taller |
a {display:block;}
got yellow! most of cell!
"DK Home" line-height:4em;
DK Home |
some text stacked up to make cells taller |
added TD Padding: 0;
to get more of cell
only tiny improvement
DK Home |
some text stacked up to make cells taller |
onMouseover
no hover-yellow
no a {display:block;}
DK Home |
some text stacked up to make cells taller |
onMouseover FUN: use javascript function, itself interesting, to chg bgColor
no hover-yellow
no a {display:block;}
DK Home |
some text stacked up to make cells taller |
3D graphics used in game development, Project Magneta Flight Simulation Instrumentation, FlightSim, GLStudio. Major site is www.openGL.org
Java3D development suspended by Sun when hardware graphics boards (nVidia, ATI)
got so good that Sun proprietary hardware couldn't compete; in cost cutting,
Java3d developers got reassigned and an alternative Java OpenGL (jogl) approach
rose in prominence.
Sun Forum: Goodbye Java3D?. Also, see www.j3d.org, and
www.j3d.org, and especially,
jogl.dev.java.net.
Project LookingGlass (presented at JavaOne 2005, June 25 - 30, San Francisco, CA
is a (JOGL based) 3D desktop environment. Version 0.7 is available...
Google on "OpenGL getting started" points to OpenGL Getting Started FAQ at www.opengl.org along with 154,000 other hits... Highlights at this site are 3 Tutorial websites. Perhaps many game developers work with C/C++; OpenGL operates in many other environment (java, python, perl, Visual C++, Visual Studio .NET).
Almost Related! Java Graphics Scripting Language (jgsl) version 1.0 is out!
Also almost related: nVidia Cg_Toolkit is a high-level graphics language, perhaps just for nVidia graphics boards?, that has OpenGL interface... available for free download is Version 1.4 of the NVIDIA Cg Toolkit (June 2005).
Try CACLS, a dos utility for changing Access Control Lists.
This from discuss.joelonsoftware.com:
I encountered the "undeletable folder" problem earlier this evening, too, but I found a way to work around it, at least on Windows 2000.
The problem comes from the access controls on the shortcuts, which can be fixed by resetting their ownership and permissions; this will allow you to delete the files.
You can do this the in the Access Control Settings dialog. (Open the Properties for the CYGWIN folder, select the Security tab, then click the Advanced... button.) On the Permissions tab, give yourself Full Control and check the "Reset permissions on all child objects" box and, on the Owner tab, set yourself as the Owner and check the "Replace owner on subcontainers and objects" box. Click OK; several alert boxes will prompt you to confirm your actions.
from MyBlueMatrix.com:
It's more detailed but same suggestion; I did this and It Worked!
Delete - Permission Denied When Trying to Delete Folders/Files
All you need to do is change the ownership of the file....and then delete the file in a usual way...
HOW TO: Take Ownership of a File or Folder in Windows XP
hardwareanalysis.com suggests:
Re: Files I can't delete!
check out this site-http://www.bootdisk.com/
scroll down until you find the section that covers "undeletable" files-there are several options available
and one of them may work for youasus a7n8x-e
2500 barton(11x200)
ati 9800 pro
1gb hynix pc3200
Delete Undeletable Files per computerprivacypro.com
Discovered that there is a Free Microsoft "Services for Unix" 3.5 that
is cygwin-like without X-windows but better? integrated with Windows environment.
Unix.com forum
discusses
SFU 3.5 vs cygwin
vs UWIN from AT&T.
InteropSystems.com has Unix tools
for SFU 3.5.
...Cutting off the rest of the tutorial. Copied html source, cut and trimmed until I found the problem: in the style.css,
table.main { ... position:absolute; top:75; left:0; ... }took out the position:absolute, top, left - and all pages of tutorial printed!
KWIC (Key Word In Context) is program that automates index creation for text documents. Implemented in several languages (I found an AWK one), there is a cygwin utilitiy ptx that (written in Fortran?) does it! ptx is permuted text indeX.
My laptop was running without wall-plug power; when the battery went out, it gracefully went into hibernation and shut off. And came up nicely from hibernation on powerup! But the next time it was powered up, Lilo died immediately with L 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A 9A for 10 lines. Lilo error code for missing second loader signature - which might be boot.b? anyway, knowing this didn't help in solving the problem!
Using cluster Knoppix CD (3.6), I booted from CD, just hitting return at boot:
prompt. Following instructions from
troubleshooters.com/linux/knoppix, I hit Ctrl+Alt+F2 to get to a root prompt,
mount /dev/hda6 /mnt/hda6 (where Quantian linux lives),
chroot /mnt/hda6 (changes
root to the hard drive root),
edited /etc/lilo.conf which for some reason? didn't
have WindowsXP as default(!?) no problem saving the file!,
lilo,
umount /dev/hda6,
exit (returns to Knoppix cd prompt, and probably completes all actions in chroot env),
rebooted, and problem solved!
C:\cygwin\home\Owner\myjava\java>java Primes.class Exception in thread "main" java.lang.NoClassDefFoundError: Primes/class Solution: don't include .class in pgm name! java Primes works...
On Linwood: C:\Documents and Settings\David Kerr\My Documents\graphics\openGL\jogl\tutorial> java HelloWorldWindow Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldWindow
SSI is enabled on IIS by default! put or other SSI directive in a .shtml file...
to enable SSI in Apache, need to add 3 directives to httpd.conf:
Options +Includes
AddHandler server-parsed .shtml
AddType text/html .shtml
To make index.shtml file the first one in a directory reference
instead of index.html, modify the DirectoryIndex directive in httpd.conf:
DirectoryIndex index.shtml index.html index.html.var /cgi-bin/index.pl
(the last item, /cgi-bin/index.pl, means if a directory has none of the
preceeding files, use the main .pl one).
You can make default.shtml be the first file looked for in IIS:
Control Panel → Administrative Tools → Internet Infromation Services
→ expand NAME (local computer), right click on Web Sites → Properties.
Goto Documents Tab, click Add button, add file name like default.shtml,
move it to the top of the list with left side gadget. Click Apply. In the
Inheritance Overrides Window, highlight "Default Web Site" (or just click
Select All button), click OK. Click OK. Right Click on NAME (local computer),
select All Tasks → restart IIS.
Using SSI: lots of help via google on "server side include apache"; when you view source on a page, the SSI directives are replaced with an empty line! I guess that makes sense: the server sends out the generated page...
download and install ActiveState Perl. To get
mod_perl on apache, follow directions from
perl.apache.org:
download mpinstall script, execute script with "perl mpinstall" which contacts
http://theoryx5.uwinnipeg.ca/ppms/ca/ppms/mod_perl.ppd (I think), and
puts the pieces in the right places. Modify Apache2/conf/httpd.conf, adding
LoadFile and LoadModule directives per
Configuring mod_perl 2.0 for Win32.
For IIS web server, when you install ActiveState Perl, the 3rd and 4th options are selected by default that adds mod_perl (isapi) to IIS, automatically!!
On Apache webserver, perl script files (.pl) are in cgi-bin and must begin with #!c:\perl\bin\Perl.exe on the first line.
on IIS, the initial #!c:\perl\bin\Perl.exe is unnecessary...
services.msc is quick way to display services window. There, you can export the
list of running services (by Display Name) to a file: Actions → Export List
another command-line way to list services: sc query > svc_list.txt
To display just the running services, enter at the command line,
net start
you can also net stop svc_name.
may be a way to change service status to manual or disabled via cmd line. maybe with sc command?
Trying to do drop and drag with javascript,
found examples that display mouse coords in status bar
but the examples don't work in Firefox (they do in Mozilla!).
ANS: Firefox disables by default "whether the text in the
browser status bar may be set by non-chrome Javascript"
can be changed via "Tools → Options → Web Features →
Enable Javascript / Advanced → Allow scripts to change status bar text"
the dom.disable_window_status_change boolean variable documentation has the
above info, see
Mozillazine.org/About:config_Entries
SFC is "system file checker", a dos pgm in Win XP:
sfc /scannow
restores system .DLLs
it may require the Windows CD for sfc to access...
[found this by googling "restore missing dll", on
www.experts-exchange.com]
Install Apache Web Server (Tomcat won't do).
download, install PHP (i'm using 4.3.10)
in addition to suggested changes to httpd.conf,
(add LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"
)
Copy your file /php/php4ts.dll to your /windows/system
or /windows/system32 folder.
3-2-2005: Actually, the recommended alternative to putting
php4ts.dll in to /windows/system32 is to add c:\php to PATH
BUT THIS DOESN'T SEEM TO WORK, IN FACT W/OUT php4ts.dll in
System32, Apache doesn't serve anything!!
More stuff about php: typically compiled in SAFE_MODE, which means only .php files in the doc_root specified in php.ini get operated on by php. maybe can extend this using include_path specification? No.
php gets served in /htdocs and /htdocs/html/ - AND this is also true with IIS: \inetpub\wwwroot\ and \inetpub\wwwroot\html !
on linwood, su -
cd /
mkdir tgf
cd tgf
scp -r david@172.26.248.90:/tgf/* .
cd /
mkdir recording
chmod 777 recording
Turn Off Firewall (otherwise, it stops communication btwn TGF and XPVD)
to run tgf: /opt/jdk1.5.0/bin/java -jar /tgf/lib/tgf2004-12-16-T0194.jar -p /tgf/properties/eco4.properties
to facilitate this, create tgf.sh in /usr/local/bin (which is usually in everyone's path)
and put in the above line.
in /usr/local/bin, create a symbolic link to the .sh file
ln -s /usr/local/bin/tgf.sh tgf
chmod +x tgf.sh
then everyone can start TGF by typing tgf at any commnad line.
to get xpvd working, need to now that DIS is a communications protocol, superceded by HLA, that uses an offset from 3200. The main TGF windows "Exercise Control Operator", has the offset from the properties file. 42 on linwood. After you start xpvd using the button next to "Send Sim Report" that appears after you press LOAD, under DIS menu/button, Disconnect, Specify (click on button 42, Dismiss), Connect. The clock in the upper right hand corner should now start changing and be the same as the simulation clock.
If the xpvd clock stays at 24:00:00, make sure you started the simulation, make sure the Sim Host address is the same as the computer you're running on, make sure offset is the same between TGF and XPVD, and that the firewall isn't blocking the traffic on the port (3200 + offset).
in Start, Run Programs window, enter \\SATCO
get to directories on satco as tho openning network neighborhood, in one step.
(Probably have to have NetBios protocol enabled on network interface...)
can also open web pages! e.g. //www.google.com from Run Programs window!
NOTE: backslashes get resolved witn WINS nameserver, forward slashes
get resolved with DNS...
download calc,
tar zxvf calc-2.11.10.1.tar.gz (this creates it's own directory, calc-2.11.10.1),
cd to that directory, make, make install
calc.exe stays in the calc-2.11.10.1 directory; make install adds help files,
man pages, examples.
NEW: "make" produces calc.exe
but "make install" tries to copy calc to /usr/bin/calc.new, and there
isn't any calc (just calc.exe)! Maybe, before you do "make install",
mv calc.exe calc, OR, do the "cp calc.exe /usr/bin", etc., manually.
(I captured the "make install" to a file via "make -n install > mk_install"
to study what "make install" was trying to do...)
sed is Stream Editor
sed s/p5/p1/ p5.mak > p1.mak
creates p1.mak which is like p5.mak with all p5 changed to p1
default setting for cygwin env var is ntsec but not tty.
setting it to tty fixes emacs ^x^c. Still a problem: how to get
set-mark-commnad to work; normally bound to ^-SPC - in fact
key-bindings in emacs claims it is! no setting of cygwin variable
seems to let it work. did find helpful .emacs fix to backspace key
giving help instead of deleting previous char: define C-h as
backward-delete-char as in
(define-key global-map "\C-h" 'backward-delete-char)
then to get help, you have to M-x help...
(global-set-key "\e " 'set-mark-command) ;; ESC-SPC does set-mark-command like in MicroEmacs.
There may be insufficient system resources or the network may be down.
This message on Gandalf running Windows 2000 led me to test the network card: booting up to Redhat Linux, it works fine!
Tried uninstalling Networking Services, IIS. (There wasn't the usual Communications services that covers TCP/IP, telephony...!)
This didn't fix the problem.
Tried removing TCP/IP protocol from both Connector 2 (NE 2000) and Connector 3 (3Com XL 3C905) and rebooting the computer (it complained that Power Meter wasn't responding...)
added TCP/IP protocol back to Connector 3, along with static IP address.
This didn't fix the problem.
Netscape says:
The most common reason for the "Netscape was unable to create a network
socket connection" error message is that the dialer you are using is 16 bit (for
Windows 3.1) but the version of Navigator or Communicator that you have is 32
bit (for Windows 95). This is common if you are using an older version of
Navigator, AOL, or other 3rd party dialers. Created: 09/14/1998 Version: Navigator/Communicator
Last Updated: 06/13/2001 OS: Windows 95 and 98
from speedguide, someone complains he can ping but not connect - which is a restatement of the above problem...
Tried renaming winsock.dll to winsockx.dll; modified connector 3 removing TCP/IP (and rebooting), then reinstalling TCP/IP protocol on connector 3. This restored a good copy of winsock.dll to System32 directory but no different than the winsockx.dll. And the problem was not fixed...
Hey!
Ever wonder where they put all that speaker testing music in windows?
well wonder no more! (windowx xp required)
as my friend described:"modern elevator music but much better"
well here it is:
my computer-c drive(or whatever u call it)- WINDOWS system 32 - oobe - images - title!!!!!
isn't it great? it's been my personal fav for about three weeks... soo relaxing.
net send ip-address "some message"
net send * "to everybody!"
Sept 15th, 2004, Fujitsu in Trinidad, Wednesday afternoon BS470 course...
In Windows XP there is a system accessory called Character Map. Accessed from the Start menu> All programs> Accessories> System tools> Character Map.
Character Map allows you to find the Unicode value of the special character you require. Once you know the four digit Unicode value (see below for information about Unicode) you may enter special characters directly into TitleDriver using this Alt-key entry method:
With the NUM LOCK switched ON,
hold down the Alt key,
enter the unicode value using the number pad keys.
For example, to get a capital O with a diaeresis (™) you would enter
Alt+ 0246
...and the character should appear.
This should work no matter what the default system language of the computer is.
match(s,r) returns the position in string s of the reg expr r; e.g.
x=match($0,/[A-Z]/); x is position of the first upper case letter in $0
x=index($0,s) returns the position of string s in $0
substr(s,i) returns the string beginning at position i in string s
sub(a,b,s) changes string s by replacing a with b, returning number of substitutions
gsub(a,b,s) changes all occurrences of a to b in string s
/* sdiv.c 8-27-93 D. Kerr c = b/a */ #include#include main(int argc, char **argv) { FILE *fp, *fopen(); ...
C2660 says fopen() has wrong number of arguments. In cygwin, the program compiles and runs... turns out the problem is that the declaration of *fopen() seems to work like a prototyping of the function, which in stdio.h Does have two args - that's the way I'm using the function when I open a file...
In Visual Studio, you have to put in the arguments in your prototype, so the fix is to say:
/* sdiv.c 8-27-93 D. Kerr c = b/a */ #includeBTW, Visual Studio provides the prototype template of functions when you begin to code them!#include main(int argc, char **argv) { FILE *fp, *fopen( const char *, const char * ); ...
In RH Linux, run ./install-grub (grub-install?) providing the partition to put it on. I use /dev/hda to put it on MBR of first drive. The grub-install also builds /boot/grub and puts important file in it like stage1, stage2. grub-install writes a copy of grub onto MBR coded to look for grub.conf in the /boot/grub directory of the Linux partition you are running from. (So there's no step where you have to tell grub where to find grub.conf). ((There are MANY command-line flags you can provide grub so there may well be a way to tell grub to look somewhere else, etc.)) Here's a grub.conf that lets me boot W2K, Fedora RH 10.0, and Knoppix 3.3:
# # DKerr boot menu configuration file # # By default, boot the first entry. default 0 # # Boot automatically after 10 seconds. timeout 10 # splashimage=(hd0,5)/boot/grub/splash.xpm.gz # # Fallback to the second entry if 1st doesn't work... fallback 1 # title M$_2000 rootnoverify (hd0,0) chainloader +1 # # title Fedora_RedHat_Linux root (hd0,5) kernel /boot/vmlinuz ro root=/dev/hda6 initrd /boot/initrd-2.4.22-1.2115.nptl.img # # title Quantian_Knoppix_3.3 root (hd0,6) kernel /vmlinuz ro root=/dev/hda7 initrd /boot/initrd.gz
Ports open?
port | protocol |
---|---|
19 | chargen |
25 | smtp |
80 | http |
135 | epmap loc-srv #DCE endpoint resolution |
139 | netbios-ssn nbsession #NETBIOS Session Service |
443 | https MCom |
445 | microsoft-ds |
1025 | |
1026 | |
5000 | |
5225 | maybe HP tomcat http server |
5226 | |
8008 |
port 139 absent after turning off netbios over tcp/ip
Usual suggestion - add
doesn't work. and commercial pages like Google, etc don't use this in their html...Also discovered www.clickfire.com/viewpoints/reviews/websites/ Reviews of webmaster help sites!
see (html-kit) service
generates favicons
(may be same as Chami.com/html-kit favicons)
and nonags freeware favicon
editors
per forum on CSS Creator.com, see conware.org has freeware version of IconArt
Great Web Site tools from Google search on "nonags favicon"
Websitegear.com recommends PixelToolbox as one of the best free icon editors.
IconArchive.com has helpful favicon tips: to get an address bar icon to show, hold down the mouse button while holding shift over the default IE icon in the address bar and then let go of the mouse button anytwhere in the address bar. This seems to "update" the favicon. Also, 32x32x256 icons work; the same format used for the desktop or the "Large Icons" View in Windows Explorer!
Another important toggle is Alt-F9 which displays field codes.
bookmarklet calculator.bookmarklet calculator.
Alt-F9 toggles display of special codes; ctrl-F9 inserts {} curly brackets to encode fields, etc directly.
del do_bldcp.bat set CLASSPATH=.;C:\j2sdk1.4.1_01\bin for %%i in (c:\tgf\lib\*) do echo set CLASSPATH=%%CLASSPATH%%;%%i >> do_bldcp.bat do_bldcp del do_bldcp.bat
cscript enable_PlainTextPassword.js
where enable_PlainTextPassword.js is
var WSHShell = WScript.CreateObject("WScript.Shell"); var ptPasswd = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\LanmanWorkstation\\Parameters\\EnablePlainTextPassword" WSHShell.RegWrite( ptPasswd, 1, "REG_DWORD" ); WScript.StdOut.Write(" LanmanWorkstation\Parameters\EnablePlainTextPassword: " + WSHShell.RegRead( ptPasswd ) ); WScript.Quit();
To DisablePlainTextPassword:
cscript disable_PlainTextPassword.js
where disable_PlainTextPassword.js is
var WSHShell = WScript.CreateObject("WScript.Shell"); var ptPasswd = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\LanmanWorkstation\\Parameters\\EnablePlainTextPassword" WSHShell.RegWrite( ptPasswd, 0, "REG_DWORD" ); WScript.StdOut.Write(" LanmanWorkstation\Parameters\EnablePlainTextPassword: " + WSHShell.RegRead( ptPasswd ) ); WScript.Quit();
Start->Programs->Administrative Tools
or Start->Settings->Control Panel, select Administrative Tools
Dougle-click Local Security Policy
click the Plus Sign next to Local Policies to expand it
Double-click Security Options
near bottom of list (scroll down), Double-click Microsoft network client Send unencrypted passwords
to third-party SMB servers
Click the Enable radio button
Click OK
Close the local Security Settings Window
Shut down Windows XP and reboot
Note that Windows XP Home doesn't have the Securty Policy menu options above, So...
use the following file to add the registry key to do the same thing:
REGEDIT4 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanWorkStation\paramters] "EnablePlainTextPassword"=dword:00000001
found by Google search on "save restore IP settings in Windows XP"
repertoire | chauffeur | alleviate | maneuver |
---|
You can set <base href="file:///c:\Documents%20and%20Settings\default\My%20Documents\Univ%20of%20Phoenix\BSIT_profiles\">
after <head>
and then all relative href file references will be based from this directory,
rather than from the directory in which the web page itself resides!
How validate an XML element whose content means "one of these"
as in <inbound_to_apt>GBH | FLN</inbound_to_apt>
ans is (page 214 of Pricilla Walmsley's _Definitive XML Schema_)
<xsd:element name='inbound_to_apt' type="AirportType"/> <xsd:simpleType name="AirportType"> <xsd:list> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="CLT"/> <xsd:enumeration value="LYH"/> <xsd:enumeration value="GBH"/> <xsd:enumeration value="FLN"/> <xsd:enumeration value="|"/> </xsd:restriction> </xsd:simpleType> </xsd:list> </xsd:simpleType>
When I try to open files in Ultraedit, the file chooser displays files in last openned(?) order instead of sorted by name. While this has it's uses, it happened without my changing anything I was aware of, and I want to know how to change it back... so that when I open files, the chooser displays choices in alphabetical order...
from http://www.experts-exchange.com/Developer/Operating_Systems/WinXP/Q_20419381.html"> http://www.experts-exchange.com/Developer/Operating_Systems/WinXP/Q_20419381.html (found searching on [XP "open file" order changed] in Google
I have a problem with my "save as" or "open files" windows. For instance, when i go to save a picture from the net into a folder, let say "pictures", and want to keep it in order. I have other picture in that folder, car1.jpg, car2.jpg, car3.jpg etc. Instead of listing it in an orderd list like before, all i see in the "save as" window is a random list, so i don't know what name to call my new car picture as to keep it in order. The same thing happens to my "open files" window in winamp. Is there an option i can change to fix this problem? I have windows xp home edition.
ans:
Accepted Answer from pelejab@idg Date: 12/09/2002 08:14AM PST
This works in windows98 but am not sure if it will work in xp but there is no
harm in trying:
1. Right-click Start, click Explore, and then click drive C.
2. On the View menu, click Details.
3. Click the Name column to sort items by name, press and hold down the CTRL key,
and then quit Windows Explorer by clicking Close in the upper-right corner of the screen.
4. Release the CTRL key.
5. Restart your computer.
cheers
Pete
Comment from Crash2100 Date: 12/09/2002 10:34AM PST
If pelejab's suggestion doesn't work, try this... Close all open programs
and explorer windows. Open my computer get it so it looks the way you want it,
then go under tools->folder options, click the view tab. Make sure the option
"remember each folders view settings" IS checked. Then click "apply to all
folders". Now say ok and close the window, restart and see if the list is
sorted.
back to Index | back to Links |