AutoCAD批量打印成PDF时不用每次点击保存路径位置的方法

把AutoCAD或者SolidWorks工程图转成PDF有两种方式,一种方式是直接转换PDF,另一种方式是通过PDF虚拟打印机打印成PDF。

下面主要介绍实现结合Acrobat批量打印时不用一个一个文件手动保存文件位置和填文件名(自动根据文件名保存)。

这里主要推荐两种PDF虚拟打印机(其他的PDF打印机如果有相关功能的话也可以)

【Adobe Acrobat】

Adobe Acrobat是一款非常优秀的PDF阅读,编辑软件,是一款商业软件,安装后会自动安装一个虚拟打印机。 Continue reading "AutoCAD批量打印成PDF时不用每次点击保存路径位置的方法"

迷你迅雷在Windows7 X64位下崩溃的解决办法

迷你迅雷 Mini Xunlei 3.1.1.58版本,应该是迅雷做的相当好的东西了 ,没有广告,没有庞大的身躯,也没有各种各样的繁多的插件(只有一个插件),当然,也没有什么登录账号的功能,纯粹的下载利器

可是自从换了Windows7 64位后,把迷你迅雷 Mini Xunlei安装好,一打开就崩溃,什么原因??? 其实是一个迷你迅雷小小的BUG

具体解决办法:

默认的按照 Continue reading "迷你迅雷在Windows7 X64位下崩溃的解决办法"

安卓市场的下载路径是什么

问:装了安卓市场,下了很多东西,手机内存小,不能都装上。每次只能开安卓市场来安装,请问安卓市场的下载路径是哪个文件夹啊?

答:我是Android 2.2的,已ROOT,下载路径是sdcard/.0102文件夹,里面的文件要加后缀名.apk,可能还需要在数字前加个英文字母。如果不改名,在市场中安装了,就会自动删除了,在这文件夹中就找不到了。

Windows XP/Windows 7自带的系统游戏路径

Pop:Windows下面的几个系统游戏有时候在没有网络的情况下玩一下也是很不错的。如果你不小心把“开始菜单”里的快捷方式删了,哪怎么才能打开呢?

1、Windows XP的解决办法:

游戏都存在 %SystemRoot%\system32\ 这个目录下面,找到对 Continue reading "Windows XP/Windows 7自带的系统游戏路径"

系统日志和IIS日志存放路径

一、应用程序日志、安全日志、系统日志、DNS日志默认位置:%systemroot%\system32\config,默认文件大小512KB,管理员都会改变这个默认大小。

1、安全日志文件:%systemroot%\system32\config\SecEvent.EVT

2、系统日志文件:%systemroot%\system32\config\SysEvent.EVT

3、应用程序日志文件:%systemroot%\system32\config\AppEvent.EVT

二、Internet信息服务日志

1、FTP日志默认位置:%systemroot%\system32\logfiles\msftpsvc1\,默认每天一个日志

2、WWW日志默认位置:%systemroot%\system32\logfiles\w3svc1\,默认每天一个日志

三、Scheduler服务日志默认位置:%systemroot%\schedlgu.txt

以上日志在注册表里的键:

应用程序日志,安全日志,系统日志,DNS服务器日志,它们这些LOG文件在注册表中的:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Eventlog

有的管理员很可能将这些日志重定位。其中EVENTLOG下面有很多的子表,里面可查到以上日志的定位目录。

Schedluler服务日志在注册表中
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SchedulingAgent

用Nircmd轻松复制文件(文件夹)的完整路径

Pop:转载于鬼仔的blog,自己简单的编辑了一下,更加简洁和完整了。

复制文件的完整路径通常情况先要复制文件的所在路径,还要复制文件的名称。然后将这两部分合在一起,非常的麻烦其实可以通过一款名字为“Nircmd”的软件来实现一键复制,它是个小巧但很强大的命令行工具,这样获取文件路径就会方便很多。

先下载“Nircmd”(下载地址:http://www.onlinedown.net/soft/44565.htm),然后解压到X:\windows\system32目录下,接下来需要

将下面代码保存为*.reg文件,然后双击导入即可。其内容如下:

1、“复制文件路径到剪贴板”注册表文件内容:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\copypath]

@="复制文件路径到剪贴板"

[HKEY_CLASSES_ROOT\*\shell\copypath\command]

@="nircmd.exe clipboard set \"%1\""

2、“复制文件夹路径”注册表文件内容:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\copypath]

@="复制文件夹路径到剪贴板"

[HKEY_CLASSES_ROOT\Directory\shell\copypath\command]

@="nircmd.exe clipboard set \"%l\""

以后再获取文件完整路径的时候,在文件上按鼠标右键,就会看到多出一个“复制文件路径到剪贴板”选项(同样也适用于文件夹,在选择文件夹的时候就显示“复制文件夹路径到剪贴板”),选择这项之后就将文件完整路径进行复制,最后就可以粘贴所需要的地方。

pop补充:其实nircmd不仅仅只有这些功能,打开“NirCmd.chm”将会有更多的介绍。

Examples of what you can do with NirCmd:

Open the door of J: CD-ROM drive nircmd.exe cdrom open j:
Close the door of Y: CD-ROM drive nircmd.exe cdrom close y:
Increase the system volume by 2000 units (out of 65535) nircmd.exe changesysvolume 2000
Decrease the system volume by 5000 units (out of 65535) nircmd.exe changesysvolume -5000
Set the volume to the highest value nircmd.exe setsysvolume 65535
Mute the system volume nircmd.exe mutesysvolume 1
Unmute the system volume nircmd.exe mutesysvolume 0
Switch the system volume between the mute and normal state. nircmd.exe mutesysvolume 2
Create a shortcut on your desktop that switch the system volume between the mute and normal state. nircmd.exe cmdshortcut "~$folder.desktop$" "Switch Volume" mutesysvolume 2
Turn off the monitor nircmd.exe monitor off
Start the default screen saver nircmd.exe screensaver
Put your computer in 'standby' mode nircmd.exe standby
log off the current user nircmd.exe exitwin logoff
Ask if you want to reboot, and if you answer 'Yes', reboot the computer. nircmd.exe qboxcom "Do you want to reboot ?" "question" exitwin reboot
Turn off your computer nircmd.exe exitwin poweroff
Turn off all computers specified in computers.txt ! multiremote copy "c:\temp\computers.txt" exitwin poweroff force
Dial to "My Internet" connection nircmd.exe rasdial "My Internet"
Disconnect the "My Internet" connection nircmd.exe rashangup "My Internet"
Make your Internet Explorer windows 75% transparent ! (192 / 256) nircmd.exe win trans ititle "internet explorer" 192
Minimize all your Internet Explorer windows nircmd.exe win min class "IEFrame"
Close all your Internet Explorer windows nircmd.exe win close class "IEFrame"
Close all your Explorer windows (My Computer, folders, and so on) nircmd.exe win close class "CabinetWClass"
Hide all your Internet Explorer windows nircmd.exe win hide class "IEFrame"
Show all your Internet Explorer windows (after you made them hidden with previous example) nircmd.exe win show class "IEFrame"
Center all top-level windows nircmd.exe win center alltop
Remove the title bar of My Computer window. nircmd.exe win -style title "my computer" 0x00C00000
Return the title bar of My Computer window that we removed in the previous example. nircmd.exe win +style title "my computer" 0x00C00000
Set the My Computer window to right-to-left order (For hebrew and arabic languages) nircmd win +exstyle title "my computer" 0x00400000
Set all child windows of My Computer window to right-to-left order (For hebrew and arabic languages) nircmd win child title "my computer" +exstyle all 0x00400000
Create a shortcut on your desktop that closes all your Internet Explorer windows nircmd.exe cmdshortcut " "~$folder.desktop$ "Close All IE" win close class "IEFrame"
Create a shortcut on your desktop that hides all your Internet Explorer windows nircmd.exe cmdshortcut " "~$folder.desktop$ "Hide All IE" win hide class "IEFrame"
Create a shortcut on your desktop that shows back all your Internet Explorer windows nircmd.exe cmdshortcut " "~$folder.desktop$ "Show All IE" win show class "IEFrame"
Set the Windows Calculator as top-most window (above all other windows) nircmd.exe win settopmost title "Calculator" 1
Set the Windows Calculator back to regular window (non top-most window) nircmd.exe win settopmost title "Calculator" 0
Create a shortcut to Windows calculator under Start Menu->Programs->Calculators nircmd.exe shortcut "f:\winnt\system32\calc.exe" "~$folder.programs$\Calculators" "Windows Calculator"
Hide the desktop window nircmd.exe win hide class progman
Show the desktop window (After hiding it in previous example) nircmd.exe win show class progman
Hide the start button on the system tray nircmd.exe win child class "Shell_TrayWnd" hide class "button"
Show the start button on the system tray nircmd.exe win child class "Shell_TrayWnd" show class "button"
Hide the clock on the system tray nircmd.exe win child class "Shell_TrayWnd" hide class "TrayClockWClass"
Show the clock on the system tray nircmd.exe win child class "Shell_TrayWnd" show class "TrayClockWClass"
Kill (terminate) all instance of Internet Explorer processes nircmd.exe killprocess iexplore.exe
Create a shortcut on your desktop that opens the door of K: CDROM drive when you run it. nircmd.exe cmdshortcut "~$folder.desktop$" "Open CDROM" cdrom open k:
Create a shortcut to NirSoft Web site on your desktop nircmd.exe urlshortcut "http://www.nirsoft.net" "~$folder.desktop$" "NirSoft"
Add NirSoft Web site to your Favorities under Links folder. nircmd.exe urlshortcut "http://www.nirsoft.net" "~$folder.favorites$\Links" "NirSoft"
Create a shortcut to NirSoft Web site on the desktop of all computers listed in computers.txt nircmd.exe multiremote copy "c:\temp\computers.txt" urlshortcut "http://www.nirsoft.net" "~$folder.common_desktop$" "NirSoft"
Set the display mode to 800x600x24bit colors nircmd.exe setdisplay 800 600 24
Create a shortcut on the desktop that set the display mode to 800x600x24bit colors nircmd.exe cmdshortcut "~$folder.desktop$" "800x600x24" setdisplay 800 600 24
Copy all shortcuts on your desktop to another folder (f:\temp\desktop). nircmd.exe execmd copy "~$folder.desktop$\*.lnk" f:\temp\desktop
Restart your Apache server (under Windows NT/2000/XP/2003) nircmd.exe service restart apache
Create a shortcut on your desktop that restarts the Apache server nircmd.exe cmdshortcut "~$folder.desktop$" "Restart Apache" service restart apache
Restart your IIS nircmd.exe service restart w3svc
Restart MySql nircmd.exe service restart MySql
Open the desired Registry key/value in RegEdit nircmd.exe regedit "HKLM\Software\Microsoft\Windows\CurrentVersion" "CommonFilesDir"
Open the Registry key that you copied to the clipboard in RegEdit. nircmd regedit "~$clipboard$"
Disable the screen saver nircmd.exe regsetval sz "HKCU\control panel\desktop" "ScreenSaveActive" 0
Enable the screen saver nircmd.exe regsetval sz "HKCU\control panel\desktop" "ScreenSaveActive" 1
Change the date/time of the specified filename (creation time and modified time) nircmd.exe setfiletime "c:\temp\myfile.txt" "24-06-2003 17:57:11" "22-11-2005 10:21:56"
Copy your desktop folder path to the clipboard nircmd.exe clipboard set ~$folder.desktop$
Copy your start menu folder path to the clipboard nircmd.exe clipboard set ~$folder.start_menu$
Copy the content of info1.txt (simple text file) to the clipboard nircmd.exe clipboard readfile "c:\My Files\info1.txt"
Add the text content of clipboard to info1.txt nircmd.exe clipboard addfile "c:\My Files\info1.txt"
Clear the clipboard nircmd.exe clipboard clear
Create all folders specified in "c:\temp\folders.txt". The folder path names are separated by CRLF characters. nircmd.exe paramsfile "c:\temp\folders.txt" "" "" execmd md ~$fparam.1$
Install the specified .NET assembly in the global assembly cache (like gacutil) nircmd.exe gac install "C:\temp\MyAssembly\bin\MyAssembly.dll"
Empty the recycle bin in all drives. nircmd.exe emptybin
Answer 'Yes' to a standard Windows message-box. nircmd.exe dlg "" "" click yes