亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 1965 | 回復(fù): 3
打印 上一主題 下一主題

備 份 注 冊(cè) 表 項(xiàng)的問(wèn)題 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2010-11-25 09:43 |只看該作者 |倒序?yàn)g覽
本帖最后由 perlw01f 于 2010-11-25 09:45 編輯
  1. #!/usr/bin/perl
  2. use strict;
  3. use warnings;
  4. use Win32::Registry;
  5. my $Register = "SYSTEM\\CurrentControlSet\\Control\\Citrix";
  6. my $hkey;
  7. $::HKEY_LOCAL_MACHINE->Open($Register, $hkey)|| die $!;
  8. $hkey->Save('c:\test1.reg');
  9. $hkey->Close();
復(fù)制代碼
得到的文件 8Kb 且不是正常的 reg文件格式
從 Citrix export得到的reg文件 1Kb
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\wfshell]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix\wfshell\TWI]
"LogoffCheckSysModules"="acrotray.exe,acrodist.exe,Acrobat.exe"


請(qǐng) 教 如何 得到 后面的這種格式?
謝 謝

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2010-11-25 09:53 |只看該作者
本帖最后由 perlw01f 于 2010-11-25 10:06 編輯

怪異
http://search.cpan.org/~jdb/Win32-Registry-0.10/Registry.pm 沒(méi)有export方法

但是這個(gè)
http://jenda.krynicky.cz/perl/Registry.pm.html居然有export方法。。。

Export

     $obj->Export( [$filename, [$continuation]] )

    Export the key into a registry script (.REG) file. This method creates a standard registry script, the same you get when you export a key from Regedit.exe.

    If you do not specify the $filename, the text gets printed to the currently select()ed filehandle.

    If the $continuation is defined, no header is printed out. You may use this to export several keys into one file.

    If you do not want to specify the filename, but need continuation, use undef() as the $filename.

本機(jī)試用 export
Can't locate auto/Win32/Registry/Export.al in @INC (@INC contains: C:\ C:/Perl/site/lib C:/Perl/lib .) at C:\Users\UserA\AppData\Local\Temp\dir108E.tmp\test1.pl


繼續(xù)求助中。。。

論壇徽章:
46
15-16賽季CBA聯(lián)賽之四川
日期:2018-03-27 11:59:132015年亞洲杯之沙特阿拉伯
日期:2015-04-11 17:31:45天蝎座
日期:2015-03-25 16:56:49雙魚座
日期:2015-03-25 16:56:30摩羯座
日期:2015-03-25 16:56:09巳蛇
日期:2015-03-25 16:55:30卯兔
日期:2015-03-25 16:54:29子鼠
日期:2015-03-25 16:53:59申猴
日期:2015-03-25 16:53:29寅虎
日期:2015-03-25 16:52:29羊年新春福章
日期:2015-03-25 16:51:212015亞冠之布里斯班獅吼
日期:2015-07-13 10:44:56
3 [報(bào)告]
發(fā)表于 2010-11-25 10:14 |只看該作者
本帖最后由 zhlong8 于 2010-11-25 10:26 編輯

少個(gè)文件或模塊 /Win32/Registry/Export.pm 應(yīng)該

CPAN能找到下面那個(gè)嗎?你裝的是下面那個(gè)嗎, ActivePerl 中是 0.10 版的沒(méi)這個(gè)方法

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2010-11-25 10:33 |只看該作者
cpan那個(gè)沒(méi)有。。。
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP