Function filesearch () {search = new activXObject ("Searchassistantoc.searchassistock); Searchasst.FindFilesorfolders ();
// shellapp = new activXObject ("shell.application"); //shellapp.showbrowserbar ("{C4EE31F3-4768-11D2-BE5C-00A0C9A83DA1}", true); // is the same as the upper effect}
Function personSearch () {searchasst = new activXObject ("Searchassistantoc.searchassistantoc"); Searchasst.FindPeople ();
Function shellexecuteexe () {shellapp = new activXObject ("shell.application");
// var myprinterfolder = shell.namespace ("shell: printersfolder"); // var mydocsfolder = shell.namespace ("shell: personal"); // var mycompfolder = shell.namespace ("shell: drivefolder");
//Shellapp.showbrowserbar ("" {C4EE31F3-4768-11D2-BE5C-00A0C9A83DA1} ", TRUE);
Shellapp.SHELLEXECUTE ("cmd.exe");
//Shellapp.shellexecute ("wiaacmgr.exe" "); //shellapp.shellexecute (" Rundll32.exe "," shell32.dll, control_rundll sysdm.cpl, 1 ") //shellapp.shellexecute ( "Rundll32.exe", "shell32.dll, control_rundll netcpl.cpl, 1"); //shellapp.shellexecute ("Rundll32.exe", "shell32.dll, control_rundll sysdm.cpl, 1");
// For the FolderItems object, you can use InvokeverBex method //shellapp.namespace ("c,"); //, by invokeverb (x.Items (). Item (0). ) .Verbs (). Item (i) .name); You can access a command // win = shellapp.namespace ("c: // xxx") .Items (). Item (0) // E = Win. Verbs (); // for (i = 0; i / / = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ // // bindtosa /// bind to the specified url and return the cdo object for It. // Function Bindtosa (Szurl) {var admoderead = 1; var = new activIvexObject ("cdo.knowledgedgestaddress) odoc.datasource.Open (Szurl, Null, AdmodeRead, -1, 0,", "") Return odoc; / / = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ = ~ // // bindtourL // / bind to the specified url and return the cdo object for It. // function bindtourl (szurl) {var admoderead = 1; var = new activiXObject ("cdo.knowledgedocument") odoc.datasource.Open (Szurl, Null, AdmodeRead, -1, 0, "," ") Return odoc; Function MSG (STR) {// Shellapp = New ActiveXObject ("shell.Application"); //shellapp.showbrowserbar ("" {C4EE31F3-4768-11D2-BE5C-00A0C9A83DA1} ", true); //Shellapp.shellexecute ("Rundll32.exe"" "Shell32.dll, SHCREATELOCALSERVERRUNDLL {601AC3DC-786A-4EB0-BF40-EE3521E70BFB}"); //Shellapp.shellexecute ("Rundll32.exe" ""shdocvw.dll ,openurl" );/internet shortcut //shellapp.shellexecute ("Rundll32.exe ""msconf.dll ,openconflink" );//speeddial //Shellapp.shellexecute ("Rundll32.exe" "zipfldr.dll ); // user account //shellapp.shellexecute ("Rundll32.exe", "shell32.dll ,options_rundll 0 "); // folder option //shellapp.shellexecute(" Rundll32.exe", "Shell32.dll, Options_rundll 1 "); // Displays taskbar and start menu //shellapp.shellexecute (" Rundll32.exe "," shell32.dll, control_rundll sysdm.cpl, 1 ") AppWiz.cpl, newlinkhere //shellapp.shellexecute ( "Rundll32.exe", "shell32.dll, control_rundllasuser") // shellui = new activXObject ("shell.uihelper.1"); //shellui.addfavorite ("http://www.microsoft.com/msdn""msdn ") //shellui.addchannel("http:// / www.microsoft.com ") Shellapp.shellexecute ("c: //mshta.exe", "c: //xx.hta") // var s = shellapp.SHELLEXECUTE ("Rundll32.exe", "Kernel32.dll, getversionExa" "," SO) / * VAR P = "c: //" SHA = New ActiveXObject ("shell.application"); var g = sha.NameSpace (p) .Items (). Item ("xxx"); var v = g.verbs (); Var str = null; for (i = 0; i